Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/kcl/highlights.scm')
| -rw-r--r-- | runtime/queries/kcl/highlights.scm | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/runtime/queries/kcl/highlights.scm b/runtime/queries/kcl/highlights.scm deleted file mode 100644 index 61c24ade..00000000 --- a/runtime/queries/kcl/highlights.scm +++ /dev/null @@ -1,57 +0,0 @@ -;; Maps AST nodes (left) to highlighting classes (right) -;; See https://docs.helix-editor.com/themes.html#scopes -;; for the supported scopes. -;; Don't forget to run the command `hx --grammar fetch` to fetch the grammars, -;; and `hx --grammar build` to build any out-of-date grammars. - -"fn" @keyword.function -"return" @keyword.control.return -"import" @keyword.control.import -"export" @keyword.control.import -[ - "if" - "else" - ] @keyword.control.conditional -(identifier) @variable - -;; highlight type names -(type_name - (identifier) @type -) @type - -(fn_call - callee: (identifier) @function - (labeledArg - label: (identifier) @variable.parameter - ) -) - - -;; operators -(binary_operator) @operator -(prefix_operator) @operator - -;; punctuation - -; ".." @punctuation.special - -"(" @punctuation.bracket -")" @punctuation.bracket -"[" @punctuation.bracket -"]" @punctuation.bracket -"{" @punctuation.bracket -"}" @punctuation.bracket - -; "." @punctuation.delimiter -"," @punctuation.delimiter -; ":" @punctuation.delimiter -; ";" @punctuation.delimiter - -;; literals -(boolean) @constant.builtin.boolean -(string) @string -(number) @constant.numeric - -;; comments -(shebang) @keyword.directive -(comment) @comment |