helix/runtime/queries/hocon/highlights.scm

32 lines
616 B
Scheme
Raw Normal View History

2024-09-13 13:28:20 -05:00
(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