Query: update highlight queries (#1553)

This is to match https://github.com/nvim-treesitter/tree-sitter-query/pull/15
This commit is contained in:
Santos Gallegos 2021-07-13 09:09:12 -05:00 committed by GitHub
parent 647268183f
commit 2a0097828d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -1,12 +1,10 @@
(string) @string
(escape_sequence) @string.escape
(capture) @type
(anonymous_node) @string
(capture (identifier) @type)
(anonymous_node (identifier) @string)
(predicate name: (identifier) @function)
(named_node
name: (identifier) @variable
(field_definition
name: (identifier) @property))
(named_node name: (identifier) @variable)
(field_definition name: (identifier) @property)
(comment) @comment
(quantifier) @operator
@ -22,6 +20,8 @@
] @punctuation.bracket
":" @punctuation.delimiter
"@" @punctuation.special
"_" @constant
((program . (comment) @include)
(#match? @include "^;\ +inherits\ *:"))