tree-sitter-spl/queries/highlights.scm

19 lines
345 B
Scheme

[
"construct" "namespace"
"func"
"def"
"with"
"while"
"if"
"catch"
"include" "in"
"use"
] @keyword
(number) @number
(string) @string
(call (identifier) @function)
(call (call) @function (identifier) @property)
(def (identifier) @local.definition)
(with_expr (identifier) @local.definition)
(ministring) @string.special.symbol