mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
Query: update highlight queries (#1553)
This is to match https://github.com/nvim-treesitter/tree-sitter-query/pull/15
This commit is contained in:
parent
647268183f
commit
2a0097828d
2 changed files with 7 additions and 7 deletions
|
|
@ -138,7 +138,7 @@
|
|||
"revision": "8e7fd7e638d4a0ec7a792ee16b19dbc6407aa810"
|
||||
},
|
||||
"query": {
|
||||
"revision": "bc753fa4d8349bd6280f634f57bd6e7be9a3ed17"
|
||||
"revision": "9a2ccff9f672f1f3d320cf925b8e5acc89b27055"
|
||||
},
|
||||
"r": {
|
||||
"revision": "bcf381c61f2471137df59fe6661478b71e4a4887"
|
||||
|
|
|
|||
|
|
@ -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\ *:"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue