1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-12 10:48:32 +01:00
helix/runtime/queries/kdl/highlights.scm

33 lines
578 B
Scheme

[
(single_line_comment)
(multi_line_comment)
(node_comment)
(node_field_comment)
; these do not show up as comments in Helix as they are also highlighted as
; normal nodes
(node . (node_comment))
(node_field . (node_field_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