Query: update highlights

ref https://github.com/nvim-treesitter/tree-sitter-query/pull/17
This commit is contained in:
Santos Gallegos 2021-12-23 16:49:38 -05:00 committed by Stephan Seitz
parent 9025d96159
commit b99f46c735
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@
(predicate name: (identifier) @function)
(named_node name: (identifier) @variable)
(field_definition name: (identifier) @property)
(negated_field "!" @operator (identifier) @property)
(comment) @comment
(quantifier) @operator
@ -20,7 +21,7 @@
] @punctuation.bracket
":" @punctuation.delimiter
"@" @punctuation.special
["@" "#"] @punctuation.special
"_" @constant
((parameters (identifier) @number)