blob: f2d2ef6c7f0a089476a4debbacca578412124669 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
(string) @string
(escape_sequence) @string.escape
(capture (identifier) @type)
(anonymous_node (identifier) @string)
(predicate name: (identifier) @function)
(named_node name: (identifier) @variable)
(field_definition name: (identifier) @property)
(negated_field "!" @operator (identifier) @property)
(comment) @comment @spell
(quantifier) @operator
(predicate_type) @punctuation.special
"." @operator
[
"["
"]"
"("
")"
] @punctuation.bracket
":" @punctuation.delimiter
["@" "#"] @punctuation.special
"_" @constant
((parameters (identifier) @number)
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
((program . (comment)* . (comment) @include)
(#lua-match? @include "^;+ *inherits *:"))
((program . (comment)* . (comment) @preproc)
(#lua-match? @preproc "^;+ *extends"))
|