script_file
comment "\" Copyright (c) 2013-2024 Junegunn Choi"
comment "\""
comment "\" MIT License"
comment "\""
comment "\" Permission is hereby granted, free of charge, to any perso"...
comment "\" a copy of this software and associated documentation files"...
comment "\" \"Software\"), to deal in the Software without restriction, "...
comment "\" without limitation the rights to use, copy, modify, merge,"...
comment "\" distribute, sublicense, and/or sell copies of the Software"...
comment "\" permit persons to whom the Software is furnished to do so,"...
comment "\" the following conditions:"
comment "\""
comment "\" The above copyright notice and this permission notice shal"...
comment "\" included in all copies or substantial portions of the Soft"...
comment "\""
comment "\" THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY "...
comment "\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRA"...
comment "\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND"
comment "\" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGH"...
comment "\" LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER "...
comment "\" OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN"...
comment "\" WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFT"...
if_statement
if "if"
call_expression
identifier "exists"
( "("
string_literal "'g:loaded_fzf'"
) ")"
body
unknown_builtin_statement
unknown_command_name "finish"
endif "endif"
let_statement
let "let"
scoped_identifier
scope "g:"
identifier "loaded_fzf"
= "="
integer_literal "1"
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "is_win"
= "="
binary_operation
call_expression
identifier "has"
( "("
string_literal "'win32'"
) ")"
|| "||"
call_expression
identifier "has"
( "("
string_literal "'win64'"
) ")"
if_statement (+46 nodes collapsed)
if_statement (+301 nodes collapsed)
function_definition (+132 nodes collapsed)
function_definition (+115 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+33 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+22 nodes collapsed)
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "layout_keys"
= "="
list
[ "["
string_literal "'window'"
, ","
string_literal "'tmux'"
, ","
string_literal "'up'"
, ","
string_literal "'down'"
, ","
string_literal "'left'"
, ","
string_literal "'right'"
] "]"
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "fzf_go"
= "="
binary_operation
scoped_identifier
scope "s:"
identifier "base_dir"
. "."
string_literal "'/bin/fzf'"
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "fzf_tmux"
= "="
binary_operation
scoped_identifier
scope "s:"
identifier "base_dir"
. "."
string_literal "'/bin/fzf-tmux'"
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "cpo_save"
= "="
option
& "&"
option_name "cpo"
set_statement
set "set"
set_item
default_option
option_name "cpo"
& "&"
vim "vim"
function_definition (+40 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+130 nodes collapsed)
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "versions"
= "="
dictionnary
{ "{"
} "}"
function_definition (+128 nodes collapsed)
function_definition (+133 nodes collapsed)
function_definition (+43 nodes collapsed)
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "min_version"
= "="
string_literal "'0.53.0'"
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "checked"
= "="
dictionnary
{ "{"
} "}"
function_definition (+350 nodes collapsed)
function_definition (+121 nodes collapsed)
function_definition (+41 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+44 nodes collapsed)
function_definition (+72 nodes collapsed)
function_definition (+412 nodes collapsed)
function_definition
function "function"
bang
! "!"
function_declaration
scoped_identifier
scope "s:"
identifier "get_color"
parameters
( "("
identifier "attr"
, ","
spread "..."
) ")"
body
comment "\" Force 24 bit colors: g:fzf_force_termguicolors (temporary "...
let_statement
let "let"
identifier "gui"
= "="
binary_operation
call_expression
identifier "get"
( "("
scope_dict "g:"
, ","
string_literal "'fzf_force_termguicolors'"
, ","
integer_literal "0"
) ")"
|| "||"
( "("
binary_operation any 2:3
binary_operation any 2:3
binary_operation
unary_operation
! "!"
scoped_identifier
scope "s:"
identifier "is_win"
&& "&&"
unary_operation
! "!"
call_expression
identifier "has"
( "("
string_literal "'win32unix'"
) ")"
&& "&&"
call_expression
identifier "has"
( "("
string_literal "'termguicolors'"
) ")"
&& "&&"
option
& "&"
option_name "termguicolors"
) ")"
let_statement
let "let"
identifier "fam"
= "="
ternary_expression
identifier "gui"
? "?"
string_literal "'gui'"
: ":"
string_literal "'cterm'"
let_statement
let "let"
identifier "pat"
= "="
ternary_expression
identifier "gui"
? "?"
string_literal "'^#[a-f0-9]\\+'"
: ":"
string_literal "'^[0-9]\\+$'"
for_loop (+45 nodes collapsed)
return_statement
return "return"
string_literal "''"
endfunction "endfunction"
function_definition (+84 nodes collapsed)
function_definition (+77 nodes collapsed)
function_definition (+55 nodes collapsed)
comment "\" [name string,] [opts dict,] [fullscreen boolean]"
function_definition (+503 nodes collapsed)
function_definition (+115 nodes collapsed)
function_definition (+33 nodes collapsed)
function_definition (+143 nodes collapsed)
let_statement (+46 nodes collapsed)
function_definition (+776 nodes collapsed)
function_definition (+52 nodes collapsed)
function_definition (+180 nodes collapsed)
function_definition (+60 nodes collapsed)
function_definition (+145 nodes collapsed)
augroup_statement
augroup "augroup"
augroup_name "fzf_popd"
autocmd_statement
autocmd "autocmd"
bang
! "!"
autocmd_statement
autocmd "autocmd"
au_event_list
au_event "WinEnter"
pattern "*"
call_statement
call "call"
call_expression
scoped_identifier
scope "s:"
identifier "dopopd"
( "("
) ")"
augroup_statement
augroup "augroup"
augroup_name "END"
function_definition (+114 nodes collapsed)
function_definition (+96 nodes collapsed)
unlet_statement
unlet "unlet"
bang
! "!"
scoped_identifier
scope "s:"
identifier "launcher"
if_statement (+35 nodes collapsed)
function_definition (+91 nodes collapsed)
function_definition (+528 nodes collapsed)
function_definition (+127 nodes collapsed)
function_definition (+283 nodes collapsed)
function_definition (+59 nodes collapsed)
function_definition (+182 nodes collapsed)
function_definition (+401 nodes collapsed)
map_statement
nnoremap "nnoremap"
<silent> "<silent>"
map_side
keycode
< "<"
> ">"
map_side "i"
map_statement
nnoremap "nnoremap"
<silent> "<silent>"
map_side
keycode
< "<"
> ">"
map_side
keycode
< "<"
> ">"
if_statement (+37 nodes collapsed)
let_statement
let "let"
scoped_identifier
scope "s:"
identifier "warned"
= "="
integer_literal "0"
function_definition (+86 nodes collapsed)
function_definition (+861 nodes collapsed)
function_definition (+74 nodes collapsed)
function_definition (+225 nodes collapsed)
if_statement (+213 nodes collapsed)
function_definition (+401 nodes collapsed)
let_statement (+23 nodes collapsed)
function_definition (+105 nodes collapsed)
function_definition (+228 nodes collapsed)
command_statement
command "command"
bang
! "!"
command_attribute
-nargs "-nargs"
= "="
pattern_multi "*"
command_attribute
-complete "-complete"
= "="
behavior
dir "dir"
command_attribute
-bang "-bang"
command_name "FZF"
command " call s:cmd(<bang>0, <f-args>)"
let_statement
let "let"
option
& "&"
option_name "cpo"
= "="
scoped_identifier
scope "s:"
identifier "cpo_save"
unlet_statement
unlet "unlet"
scoped_identifier
scope "s:"
identifier "cpo_save"