feat(vim): support syntax command

This commit is contained in:
Thomas Vigouroux 2022-01-19 16:31:29 +01:00 committed by Christian Clason
parent f67eb83be5
commit 073a3ac929

View file

@ -37,7 +37,7 @@
(call_expression function: (identifier) @function)
(function_declaration parameters: (parameters (identifier) @parameter))
[ (bang) (spread) ] @punctuation.special
[ (bang) (spread) (at) ] @punctuation.special
[ (no_option) (inv_option) (default_option) (option_name) ] @variable.builtin
[
@ -67,6 +67,8 @@
"perl"
"python"
"highlight"
"delcommand"
"comclear"
] @keyword
(map_statement cmd: _ @keyword)
(command_name) @function.macro
@ -84,8 +86,13 @@
"foldlevel"
"iskeyword"
"keyword"
"match"
"cluster"
"region"
] @keyword)
(syntax_argument name: _ @keyword)
[
"<buffer>"
"<nowait>"