mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
a32d537d0a
* Add HOCON language support * Remove error query Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Change include query * Fix query error --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
32 lines
616 B
Scheme
32 lines
616 B
Scheme
(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
|
|
|