mirror of
https://github.com/helix-editor/helix
synced 2026-03-07 20:46:21 +01:00
44 lines
883 B
Scheme
44 lines
883 B
Scheme
|
|
(comment) @comment.line
|
|
|
|
(string) @string
|
|
(string "i" @keyword.modifier)
|
|
|
|
(identifier) @variable.other
|
|
(rule_name (identifier) @function)
|
|
(rule (generic (identifier) @function))
|
|
|
|
(directive_name) @keyword.directive
|
|
(directive_value (identifier) @constant)
|
|
(directive_value (string) @string)
|
|
|
|
(token) @constant
|
|
|
|
(generic
|
|
"<" @punctuation.bracket
|
|
(identifier) @type.parameter
|
|
">" @punctuation.bracket
|
|
)
|
|
|
|
(group "(" @punctuation.bracket ")" @punctuation.bracket)
|
|
|
|
(charset) @string.regexp
|
|
(wildcard) @keyword
|
|
|
|
(quantifier) @function.builtin
|
|
|
|
(macro_name
|
|
"[" @punctuation.bracket
|
|
(identifier) @variable.parameter
|
|
"]" @punctuation.bracket
|
|
)
|
|
(macro_arg) @variable.parameter
|
|
|
|
(rule "->" @operator)
|
|
(rule_body "|" @operator)
|
|
|
|
(cont_block "@{%" @keyword.directive "%}" @keyword.directive)
|
|
(cont_inline "{%" @keyword.directive "%}" @keyword.directive)
|
|
|
|
(ifdef) @keyword.directive
|