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

@ -138,7 +138,7 @@
"revision": "8e7fd7e638d4a0ec7a792ee16b19dbc6407aa810"
},
"query": {
"revision": "bc753fa4d8349bd6280f634f57bd6e7be9a3ed17"
"revision": "9a2ccff9f672f1f3d320cf925b8e5acc89b27055"
},
"r": {
"revision": "bcf381c61f2471137df59fe6661478b71e4a4887"

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\ *:"))