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
(comment) @comment

(key) @attribute

(value) @string

(value (escape) @constant.character.escape)

((index) @constant.numeric.integer
  (#match? @constant.numeric.integer "^[0-9]+$"))

((substitution (key) @constant)
  (#match? @constant "^[A-Z0-9_]+"))

((value) @constant.builtin.boolean
  (#any-of? @constant.builtin.boolean "true" "false" "enabled" "disabled"))

((value) @constant.numeric.integer
  (#match? @constant.numeric.integer "^-?[0-9]+$"))

((value) @constant.numeric.float
  (#match? @constant.numeric.float "^-?[0-9]+\.[0-9]$"))

((value) @string.special.path
  (#match? @string.special.path "^(\.{1,2})?/"))

(substitution
  (key) @function
  "::" @punctuation.special
  (secret) @string.special.symbol)

(property [ "=" ":" ] @keyword.operator)

[ "${" "}" ] @punctuation.special

(substitution ":" @punctuation.special)

[ "[" "]" ] @punctuation.bracket

[ "." "\\" ] @punctuation.delimiter