mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:40:05 +08:00
35 lines
785 B
Scheme
35 lines
785 B
Scheme
(string) @string
|
|
(escape_sequence) @string.escape
|
|
(capture (identifier) @type)
|
|
(anonymous_node (identifier) @string)
|
|
(predicate name: (identifier) @function)
|
|
(named_node name: (identifier) @variable)
|
|
(field_definition name: (identifier) @property)
|
|
(negated_field "!" @operator (identifier) @property)
|
|
(comment) @comment @spell
|
|
|
|
(quantifier) @operator
|
|
(predicate_type) @punctuation.special
|
|
|
|
"." @operator
|
|
|
|
[
|
|
"["
|
|
"]"
|
|
"("
|
|
")"
|
|
] @punctuation.bracket
|
|
|
|
":" @punctuation.delimiter
|
|
["@" "#"] @punctuation.special
|
|
"_" @constant
|
|
|
|
((parameters (identifier) @number)
|
|
(#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
|
|
|
|
((program . (comment)* . (comment) @include)
|
|
(#lua-match? @include "^;+ *inherits *:"))
|
|
|
|
((program . (comment)* . (comment) @preproc)
|
|
(#lua-match? @preproc "^;+ *extends"))
|