mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 09:56:19 +04:00
65 lines
724 B
Scheme
65 lines
724 B
Scheme
|
[
|
||
|
"ajar"
|
||
|
"alias"
|
||
|
"as"
|
||
|
"bits"
|
||
|
"closed"
|
||
|
"compose"
|
||
|
"const"
|
||
|
"enum"
|
||
|
"error"
|
||
|
"flexible"
|
||
|
"library"
|
||
|
"open"
|
||
|
; "optional" we did not specify a node for optional yet
|
||
|
"overlay"
|
||
|
"protocol"
|
||
|
"reserved"
|
||
|
"resource"
|
||
|
"service"
|
||
|
"strict"
|
||
|
"struct"
|
||
|
"table"
|
||
|
"type"
|
||
|
"union"
|
||
|
"using"
|
||
|
] @keyword
|
||
|
|
||
|
(primitives_type) @type.builtin
|
||
|
|
||
|
(builtin_complex_type) @type.builtin
|
||
|
|
||
|
(const_declaration
|
||
|
(identifier) @constant)
|
||
|
|
||
|
[
|
||
|
"="
|
||
|
"|"
|
||
|
"&"
|
||
|
"->"
|
||
|
] @operator
|
||
|
|
||
|
(attribute
|
||
|
"@" @attribute
|
||
|
(identifier) @attribute)
|
||
|
|
||
|
(string_literal) @string
|
||
|
|
||
|
(numeric_literal) @constant.numeric
|
||
|
|
||
|
[
|
||
|
(true)
|
||
|
(false)
|
||
|
] @constant.builtin.boolean
|
||
|
|
||
|
(comment) @comment
|
||
|
|
||
|
[
|
||
|
"("
|
||
|
")"
|
||
|
"<"
|
||
|
">"
|
||
|
"{"
|
||
|
"}"
|
||
|
] @punctuation.bracket
|