mirror of https://github.com/helix-editor/helix
feat(lang): add kdl grammar (#4481)
parent
5e256e4a98
commit
b5e7501935
@ -0,0 +1,22 @@
|
||||
(comment) @comment
|
||||
(single_line_comment) @comment
|
||||
|
||||
(node
|
||||
name: (identifier) @function)
|
||||
(prop (identifier) @attribute)
|
||||
(type) @type
|
||||
|
||||
(bare_identifier) @variable.other.member
|
||||
|
||||
(keyword) @keyword
|
||||
|
||||
(string) @string
|
||||
(number) @constant.numeric
|
||||
(boolean) @constant.builtin.boolean
|
||||
|
||||
"." @punctuation.delimiter
|
||||
|
||||
"=" @operator
|
||||
|
||||
"{" @punctuation.bracket
|
||||
"}" @punctuation.bracket
|
Loading…
Reference in New Issue