mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(viml): bump parser and queries
This commit is contained in:
parent
2a63ea5665
commit
e58b7f9950
2 changed files with 12 additions and 8 deletions
|
|
@ -366,7 +366,7 @@
|
|||
"revision": "8f6b1f357d1231c420404b5f7a368a73c25adfa2"
|
||||
},
|
||||
"vim": {
|
||||
"revision": "31ced69f19b65cb92a3f30e71b0b76216d8aeea3"
|
||||
"revision": "f8c5c653f9392ec9daad6a513374486cee66bb54"
|
||||
},
|
||||
"vue": {
|
||||
"revision": "91fe2754796cd8fba5f229505a23fa08f3546c06"
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
(parameters (identifier) @parameter)
|
||||
(default_parameter (identifier) @parameter)
|
||||
|
||||
[ (bang) (spread) (at) ] @punctuation.special
|
||||
[ (bang) (spread) ] @punctuation.special
|
||||
|
||||
[ (no_option) (inv_option) (default_option) (option_name) ] @variable.builtin
|
||||
[
|
||||
|
|
@ -131,11 +131,6 @@
|
|||
"<unique>"
|
||||
] @constant.builtin
|
||||
|
||||
(hl_attribute
|
||||
key: _ @property
|
||||
val: _ @constant)
|
||||
|
||||
(hl_group) @variable
|
||||
(augroup_name) @namespace
|
||||
|
||||
(au_event) @constant
|
||||
|
|
@ -143,6 +138,12 @@
|
|||
|
||||
;; Highlight command
|
||||
|
||||
(hl_attribute
|
||||
key: _ @property
|
||||
val: _ @constant)
|
||||
|
||||
(hl_group) @type
|
||||
|
||||
(highlight_statement [
|
||||
"default"
|
||||
"link"
|
||||
|
|
@ -151,6 +152,8 @@
|
|||
|
||||
;; Command command
|
||||
|
||||
(command) @string
|
||||
|
||||
(command_attribute
|
||||
name: _ @property
|
||||
val: (behavior
|
||||
|
|
@ -173,9 +176,10 @@
|
|||
;; Literals
|
||||
|
||||
(string_literal) @string
|
||||
(string_literal) @spell
|
||||
(integer_literal) @number
|
||||
(float_literal) @float
|
||||
(comment) @comment
|
||||
(comment) @comment @spell
|
||||
(pattern) @string.special
|
||||
(pattern_multi) @string.regex
|
||||
(filename) @string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue