Files
grammar/queries/highlights.scm

21 lines
594 B
Scheme
Raw Normal View History

2026-03-15 14:40:13 +11:00
(comment) @comment
(keyword) @keyword
"fun" @keyword
"endfun" @keyword
"struct" @keyword
"endstruct" @keyword
(label_definition "@" @punctuation.special (identifier) @label)
(line_reference "%" @punctuation.special (identifier) @label)
(value_reference "$" @punctuation.special (identifier) @variable)
(direct_reference "&" @punctuation.special (identifier) @variable.parameter)
(function_reference "!" @punctuation.special (identifier) @function)
(type_reference "-" @punctuation.special (identifier) @type)
(string) @string
(int) @number
(double) @number
(char) @character
(bool) @boolean