mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -04:00
Query: update highlights
ref https://github.com/nvim-treesitter/tree-sitter-query/pull/17
This commit is contained in:
parent
9025d96159
commit
b99f46c735
2 changed files with 3 additions and 2 deletions
|
|
@ -189,7 +189,7 @@
|
||||||
"revision": "8e7fd7e638d4a0ec7a792ee16b19dbc6407aa810"
|
"revision": "8e7fd7e638d4a0ec7a792ee16b19dbc6407aa810"
|
||||||
},
|
},
|
||||||
"query": {
|
"query": {
|
||||||
"revision": "9a2ccff9f672f1f3d320cf925b8e5acc89b27055"
|
"revision": "5217c6805c09f8fc00ed13d17d5fcb791437aee6"
|
||||||
},
|
},
|
||||||
"r": {
|
"r": {
|
||||||
"revision": "91f587e5685f46e26f9f6e55f2e06d503f8f0fc0"
|
"revision": "91f587e5685f46e26f9f6e55f2e06d503f8f0fc0"
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
(predicate name: (identifier) @function)
|
(predicate name: (identifier) @function)
|
||||||
(named_node name: (identifier) @variable)
|
(named_node name: (identifier) @variable)
|
||||||
(field_definition name: (identifier) @property)
|
(field_definition name: (identifier) @property)
|
||||||
|
(negated_field "!" @operator (identifier) @property)
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
|
|
||||||
(quantifier) @operator
|
(quantifier) @operator
|
||||||
|
|
@ -20,7 +21,7 @@
|
||||||
] @punctuation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
":" @punctuation.delimiter
|
":" @punctuation.delimiter
|
||||||
"@" @punctuation.special
|
["@" "#"] @punctuation.special
|
||||||
"_" @constant
|
"_" @constant
|
||||||
|
|
||||||
((parameters (identifier) @number)
|
((parameters (identifier) @number)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue