@@ -0,0 +1,46 @@
1+; mark the string passed #match? as a regex
2+(((predicate_name) @function
3+ (capture)
4+ (string) @string.regexp)
5+ (#eq? @function "#match?"))
6+
7+; highlight inheritance comments
8+((query . (comment) @keyword.directive)
9+ (#match? @keyword.directive "^;\ +inherits *:"))
10+
11+[
12+ "("
13+ ")"
14+ "["
15+ "]"
16+] @punctuation.bracket
17+
18+":" @punctuation.delimiter
19+
20+[
21+ (one_or_more)
22+ (zero_or_one)
23+ (zero_or_more)
24+] @operator
25+
26+[
27+ (wildcard_node)
28+ (anchor)
29+] @constant.builtin
30+
31+[
32+ (anonymous_leaf)
33+ (string)
34+] @string
35+
36+(comment) @comment
37+
38+(field_name) @property
39+
40+(capture) @label
41+
42+(predicate_name) @function
43+
44+(escape_sequence) @escape
45+
46+(node_name) @variable