helix-mods/runtime/queries/kdl/highlights.scm
cgahr 5c325fe342
replace kdl tree-sitter to fix highlighting (#8652)
* replace kdl tree-sitter

* kdl: adopt highlights for new tree-sitter

* kdl: add indent queries

* kdl: add textobjects

* kdl: improve syntax highlighting

* kdl: update lang-support

* kdl: make indents more concise

---------

Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
2023-11-03 22:21:54 +01:00

22 lines
362 B
Scheme

(single_line_comment) @comment
(multi_line_comment) @comment
(node
(identifier) @variable)
(prop (identifier) @attribute)
(type (_) @type) @punctuation.bracket
(keyword) @keyword
(string) @string
(number) @constant.numeric
(boolean) @constant.builtin.boolean
"." @punctuation.delimiter
"=" @operator
"{" @punctuation.bracket
"}" @punctuation.bracket