nvim-treesitter/queries/query/highlights.scm

28 lines
459 B
Scheme
Raw Normal View History

2020-07-28 07:39:45 -05:00
(string) @string
(escape_sequence) @string.escape
2020-07-28 07:39:45 -05:00
(capture) @type
(anonymous_node) @string
2020-09-04 13:09:28 -05:00
(predicate) @function
2020-07-28 07:39:45 -05:00
(named_node
name: (identifier) @variable
(field_definition
name: (identifier) @property))
(comment) @comment
2020-09-04 13:09:28 -05:00
(quantifier) @operator
(predicate_type) @punctuation.special
2021-04-10 15:18:44 -05:00
"." @operator
2020-09-04 13:09:28 -05:00
[
"["
"]"
"("
")"
] @punctuation.bracket
2021-04-10 15:18:44 -05:00
":" @punctuation.delimiter
((program . (comment) @include)
(#match? @include "^;\ +inherits\ *:"))