diff options
Diffstat (limited to 'runtime/queries/hocon/highlights.scm')
| -rw-r--r-- | runtime/queries/hocon/highlights.scm | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/runtime/queries/hocon/highlights.scm b/runtime/queries/hocon/highlights.scm new file mode 100644 index 000000000..0eb94e6dd --- /dev/null +++ b/runtime/queries/hocon/highlights.scm @@ -0,0 +1,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) |
