mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
feat(vim): support syntax command
This commit is contained in:
parent
f67eb83be5
commit
073a3ac929
1 changed files with 8 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
||||||
(call_expression function: (identifier) @function)
|
(call_expression function: (identifier) @function)
|
||||||
(function_declaration parameters: (parameters (identifier) @parameter))
|
(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
|
[ (no_option) (inv_option) (default_option) (option_name) ] @variable.builtin
|
||||||
[
|
[
|
||||||
|
|
@ -67,6 +67,8 @@
|
||||||
"perl"
|
"perl"
|
||||||
"python"
|
"python"
|
||||||
"highlight"
|
"highlight"
|
||||||
|
"delcommand"
|
||||||
|
"comclear"
|
||||||
] @keyword
|
] @keyword
|
||||||
(map_statement cmd: _ @keyword)
|
(map_statement cmd: _ @keyword)
|
||||||
(command_name) @function.macro
|
(command_name) @function.macro
|
||||||
|
|
@ -84,8 +86,13 @@
|
||||||
"foldlevel"
|
"foldlevel"
|
||||||
"iskeyword"
|
"iskeyword"
|
||||||
"keyword"
|
"keyword"
|
||||||
|
"match"
|
||||||
|
"cluster"
|
||||||
|
"region"
|
||||||
] @keyword)
|
] @keyword)
|
||||||
|
|
||||||
|
(syntax_argument name: _ @keyword)
|
||||||
|
|
||||||
[
|
[
|
||||||
"<buffer>"
|
"<buffer>"
|
||||||
"<nowait>"
|
"<nowait>"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue