aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/hocon/highlights.scm
blob: d1aa38a27dbcc38708140242b5650a8ae8439103 (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
(comment) @comment

(null) @constant.builtin
[(true) (false)] @constant.builtin.boolean
(number) @constant.numeric
(string) @string
(multiline_string) @string
(string (escape_sequence) @constant.character.escape)
(unquoted_string) @string

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

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

[ 
  "url"
  "file"
  "classpath"
  "required"
] @function.builtin

(include) @keyword.directive

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

(unit) @keyword
(path (_) @keyword)
(unquoted_path "." @punctuation.delimiter)
[ "," ] @punctuation.delimiter