Unnamed repository; edit this file 'description' to name the repository.
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
35
36
37
38
39
40
41
42
43

(comment) @comment.line

(string) @string
(string "i" @keyword.modifier)

(identifier) @variable.other
(rule_name (identifier) @function)
(rule (generic (identifier) @function))

(directive_name) @keyword.directive
(directive_value (identifier) @constant)
(directive_value (string) @string)

(token) @constant

(generic
  "<" @punctuation.bracket
  (identifier) @type.parameter
  ">" @punctuation.bracket
)

(group "(" @punctuation.bracket ")" @punctuation.bracket)

(charset) @string.regexp
(wildcard) @keyword

(quantifier) @function.builtin

(macro_name
  "[" @punctuation.bracket
  (identifier) @variable.parameter
  "]" @punctuation.bracket
)
(macro_arg) @variable.parameter

(rule "->" @operator)
(rule_body "|" @operator)

(cont_block "@{%" @keyword.directive "%}" @keyword.directive)
(cont_inline "{%" @keyword.directive "%}" @keyword.directive)

(ifdef) @keyword.directive