aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/hocon/highlights.scm
blob: 0eb94e6dd23f55fbed7cf399f00c78da5caec712 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
(comment) @comment @spell

(null) @constant.builtin

[
  (true)
  (false)
] @boolean

(number) @number

(unit) @keyword

(string) @string

(multiline_string) @string

(string
  (escape_sequence) @string.escape)

(unquoted_string) @string

[
  "url"
  "file"
  "classpath"
  "required"
] @keyword

(include
  "include" @keyword.import)

(substitution
  [
    "${"
    "${?"
    "}"
  ] @punctuation.special)

(substitution
  (_) @variable.member)

(path
  (_) @variable.member)

(value
  [
    ":"
    "="
    "+="
  ] @operator)

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

"," @punctuation.delimiter

(unquoted_path
  "." @punctuation.delimiter)