mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
175 lines
1.9 KiB
Scheme
175 lines
1.9 KiB
Scheme
9 months ago
|
[
|
||
|
"if"
|
||
|
"elseif"
|
||
|
"else"
|
||
|
"switch"
|
||
|
] @keyword.control.conditional
|
||
|
|
||
|
[
|
||
|
"foreach"
|
||
|
"for"
|
||
|
"while"
|
||
|
"do"
|
||
|
"until"
|
||
|
] @keyword.control.repeat
|
||
|
|
||
|
[
|
||
|
"break"
|
||
|
"continue"
|
||
|
"return"
|
||
|
] @keyword.control.return
|
||
|
|
||
|
"in" @keyword.operator
|
||
|
|
||
|
"function" @keyword.function
|
||
|
|
||
|
[
|
||
|
"class"
|
||
|
"enum"
|
||
|
] @keyword.storage.type
|
||
|
|
||
|
[
|
||
|
"param"
|
||
|
"dynamicparam"
|
||
|
"begin"
|
||
|
"process"
|
||
|
"end"
|
||
|
"filter"
|
||
|
"workflow"
|
||
|
"throw"
|
||
|
"exit"
|
||
|
"trap"
|
||
|
"try"
|
||
|
"catch"
|
||
|
"finally"
|
||
|
"data"
|
||
|
"inlinescript"
|
||
|
"parallel"
|
||
|
"sequence"
|
||
|
] @keyword
|
||
|
|
||
|
[
|
||
|
"-as"
|
||
|
"-ccontains"
|
||
|
"-ceq"
|
||
|
"-cge"
|
||
|
"-cgt"
|
||
|
"-cle"
|
||
|
"-clike"
|
||
|
"-clt"
|
||
|
"-cmatch"
|
||
|
"-cne"
|
||
|
"-cnotcontains"
|
||
|
"-cnotlike"
|
||
|
"-cnotmatch"
|
||
|
"-contains"
|
||
|
"-creplace"
|
||
|
"-csplit"
|
||
|
"-eq"
|
||
|
"-ge"
|
||
|
"-gt"
|
||
|
"-icontains"
|
||
|
"-ieq"
|
||
|
"-ige"
|
||
|
"-igt"
|
||
|
"-ile"
|
||
|
"-ilike"
|
||
|
"-ilt"
|
||
|
"-imatch"
|
||
|
"-in"
|
||
|
"-ine"
|
||
|
"-inotcontains"
|
||
|
"-inotlike"
|
||
|
"-inotmatch"
|
||
|
"-ireplace"
|
||
|
"-is"
|
||
|
"-isnot"
|
||
|
"-isplit"
|
||
|
"-join"
|
||
|
"-le"
|
||
|
"-like"
|
||
|
"-lt"
|
||
|
"-match"
|
||
|
"-ne"
|
||
|
"-not"
|
||
|
"-notcontains"
|
||
|
"-notin"
|
||
|
"-notlike"
|
||
|
"-notmatch"
|
||
|
"-replace"
|
||
|
"-shl"
|
||
|
"-shr"
|
||
|
"-split"
|
||
|
"-and"
|
||
|
"-or"
|
||
|
"-xor"
|
||
|
"-band"
|
||
|
"-bor"
|
||
|
"-bxor"
|
||
|
"+"
|
||
|
"-"
|
||
|
"*"
|
||
|
"/"
|
||
|
"%"
|
||
|
"++"
|
||
|
"--"
|
||
|
"!"
|
||
|
"\\"
|
||
|
".."
|
||
|
"|"
|
||
|
] @operator
|
||
|
|
||
|
(assignement_operator) @operator
|
||
|
|
||
|
[
|
||
|
"("
|
||
|
")"
|
||
|
"{"
|
||
|
"}"
|
||
|
"["
|
||
|
"]"
|
||
|
] @punctuation.bracket
|
||
|
|
||
|
[
|
||
|
";"
|
||
|
","
|
||
|
"::"
|
||
|
] @punctuation.delimiter
|
||
|
|
||
|
(string_literal) @string
|
||
|
|
||
|
(integer_literal) @constant.numeric
|
||
|
(real_literal) @constant.numeric
|
||
|
|
||
|
(command
|
||
|
command_name: (command_name) @function)
|
||
|
|
||
|
(function_name) @function
|
||
|
|
||
|
(invokation_expression
|
||
|
(member_name) @function)
|
||
|
|
||
|
(member_access
|
||
|
(member_name) @variable.other.member)
|
||
|
|
||
|
(command_invokation_operator) @operator
|
||
|
|
||
|
(type_spec) @type
|
||
|
|
||
|
(variable) @variable
|
||
|
|
||
|
(comment) @comment
|
||
|
|
||
|
(array_expression) @punctuation.bracket
|
||
|
|
||
|
(assignment_expression
|
||
|
value: (pipeline) @variable)
|
||
|
|
||
|
(format_operator) @operator
|
||
|
|
||
|
(command_parameter) @variable.parameter
|
||
|
|
||
|
(command_elements) @variable.builtin
|
||
|
|
||
|
(generic_token) @variable
|