summaryrefslogtreecommitdiff
path: root/runtime/queries/kdl/highlights.scm
blob: d83bde19ceed9aa3b45409cdd716d729e34d02c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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