summaryrefslogtreecommitdiff
path: root/queries/query/highlights.scm
blob: e94d5f50b7cc0924d162f7ff35764f4c41f9219e (plain)
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
(string) @string
(escape_sequence) @string.escape
(capture) @type
(anonymous_node) @string
(predicate name: (identifier) @function)
(named_node
  name: (identifier) @variable
  (field_definition
    name: (identifier) @property))
(comment) @comment

(quantifier) @operator
(predicate_type) @punctuation.special

"." @operator

[
  "["
  "]"
  "("
  ")"
] @punctuation.bracket

":" @punctuation.delimiter

((program . (comment) @include)
 (#match? @include "^;\ +inherits\ *:"))