diff options
Diffstat (limited to 'runtime/queries/editorconfig/highlights.scm')
| -rw-r--r-- | runtime/queries/editorconfig/highlights.scm | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/runtime/queries/editorconfig/highlights.scm b/runtime/queries/editorconfig/highlights.scm new file mode 100644 index 000000000..feb0a524c --- /dev/null +++ b/runtime/queries/editorconfig/highlights.scm @@ -0,0 +1,55 @@ +(comment) @comment @spell + +(section + (section_name) @string.special.path) + +(character_choice + (character) @constant) + +(character_range + start: (character) @constant + end: (character) @constant) + +[ + "[" + "]" + "{" + "}" +] @punctuation.bracket + +[ + "," + ".." + (path_separator) +] @punctuation.delimiter + +[ + "-" + "=" + (negation) +] @operator + +[ + (wildcard_characters) + (wildcard_any_characters) + (wildcard_single_character) +] @character.special + +(escaped_character) @string.escape + +(pair + key: (identifier) @property + value: (_) @string) + +(boolean) @boolean + +(integer) @number + +(unset) @constant.builtin + +[ + (spelling_language) + (indent_style) + (end_of_line) + (charset) +] @string.special |
