script_file
comment "\" Get the names of currently sourced scripts"
function_definition (+33 nodes collapsed)
comment "\" Get a (possibly local) function from a script"
function_definition (+125 nodes collapsed)
comment "\" Get a list of echoed messages"
function_definition (+37 nodes collapsed)
comment "\" Check if a syntax group exists"
function_definition (+50 nodes collapsed)
command_statement
command "command"
bang
! "!"
command_attribute
-nargs "-nargs"
= "="
integer_literal "1"
command_name "AssertSyntax"
command " :call s:assert_syntax(<f-args>)"
comment "\" Get a list of echoed messages"
function_definition (+39 nodes collapsed)
comment "\" Assert that a certain message was emitted"
function_definition (+62 nodes collapsed)
command_statement
command "command"
bang
! "!"
command_attribute
-nargs "-nargs"
= "="
integer_literal "1"
command_name "AssertMessage"
command " :call s:assert_message(<args>, v:true)"
command_statement
command "command"
bang
! "!"
command_attribute
-nargs "-nargs"
= "="
integer_literal "1"
command_name "AssertNoMessage"
command " :call s:assert_message(<args>, v:false)"
comment "\" Not a dict function, so the mock can be used within other "...
function_definition (+43 nodes collapsed)
comment "\" Get a function mock object"
function_definition (+59 nodes collapsed)
comment "\" Get a list of mappings"
function_definition (+52 nodes collapsed)
comment "\" Check whether a mapping is defined"
function_definition (+101 nodes collapsed)
comment "\" Check whether a mapping is not defined"
function_definition (+71 nodes collapsed)
command_statement
command "command"
bang
! "!"
command_attribute
-nargs "-nargs"
= "="
pattern_multi "+"
command_name "AssertMapping"
command " :call s:assert_mapping(<args>)"
command_statement
command "command"
bang
! "!"
command_attribute
-nargs "-nargs"
= "="
pattern_multi "+"
command_name "AssertNoMapping"
command " :call s:assert_no_mapping(<args>)"
comment "\" Unlet all settings variables"
function_definition (+75 nodes collapsed)
comment "\" Clear current syntax highlighting"
function_definition
function "function"
bang
! "!"
function_declaration
identifier "ClearSyntax"
parameters
( "("
) ")"
body
syntax_statement
syntax "syntax"
clear "clear"
unlet_statement
unlet "unlet"
bang
! "!"
scoped_identifier
scope "b:"
identifier "current_syntax"
endfunction "endfunction"