mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 09:10:04 +08:00
61 lines
801 B
Scheme
Vendored
61 lines
801 B
Scheme
Vendored
[
|
|
"enum"
|
|
"extern"
|
|
"grammar"
|
|
"match"
|
|
"type"
|
|
"pub"
|
|
] @keyword
|
|
|
|
[
|
|
"match"
|
|
"else"
|
|
] @conditional
|
|
|
|
[
|
|
"+"
|
|
"*"
|
|
"?"
|
|
; TODO: inaccessible node
|
|
; =>
|
|
"=>@L"
|
|
"=>@R"
|
|
] @operator
|
|
|
|
(grammar_type_params
|
|
["<" ">"] @punctuation.bracket)
|
|
|
|
(symbol
|
|
["<" ">"] @punctuation.bracket)
|
|
|
|
(binding_symbol
|
|
["<" ">"] @punctuation.bracket)
|
|
|
|
(binding_symbol
|
|
name: (identifier) @parameter)
|
|
|
|
(bare_symbol
|
|
(macro
|
|
((macro_id) @type.definition)))
|
|
|
|
(bare_symbol
|
|
(identifier) @type.definition)
|
|
|
|
(nonterminal_name
|
|
(macro_id) @type.definition)
|
|
|
|
(nonterminal_name
|
|
(identifier) @type.definition)
|
|
|
|
(nonterminal
|
|
(type_ref) @type.builtin)
|
|
|
|
["(" ")" "[" "]"] @punctuation.bracket
|
|
|
|
[";" ":"] @punctuation.delimiter
|
|
|
|
(lifetime (identifier) @storageclass)
|
|
|
|
(string_literal) @string
|
|
(regex_literal) @string
|