tree-sitter-spl/queries/highlights.scm

20 lines
345 B
Scheme
Raw Normal View History

2023-05-24 21:48:37 +02:00
[
"construct" "namespace"
"func"
"def"
"with"
"while"
"if"
"catch"
"include" "in"
"use"
] @keyword
(number) @number
(string) @string
2024-11-15 21:01:47 +01:00
(call (identifier) @function)
(call (call) @function (identifier) @property)
(def (identifier) @local.definition)
(with_expr (identifier) @local.definition)
2024-11-15 21:44:36 +01:00
(ministring) @string.special.symbol