forked from Mirrors/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.
63 lines
783 B
Scheme
63 lines
783 B
Scheme
2 years ago
|
(number) @constant.numeric
|
||
|
(string) @string
|
||
|
(boolean) @constant.builtin.boolean
|
||
|
(include_path) @string.special.path
|
||
|
|
||
|
(parameters_declaration (identifier) @variable.parameter)
|
||
|
(function_declaration name: (identifier) @function)
|
||
|
|
||
|
(function_call function: (identifier) @function)
|
||
|
(module_call name: (identifier) @function)
|
||
|
|
||
|
(identifier) @variable
|
||
|
(special_variable) @variable.builtin
|
||
|
|
||
|
[
|
||
|
"function"
|
||
|
"let"
|
||
|
"assign"
|
||
|
] @keyword
|
||
|
|
||
|
[
|
||
|
"for"
|
||
|
"each"
|
||
|
"intersection_for"
|
||
|
] @keyword.control.repeat
|
||
|
|
||
|
[
|
||
|
"if"
|
||
|
] @keyword.control.conditional
|
||
|
|
||
|
[
|
||
|
"module"
|
||
|
"use"
|
||
|
"include"
|
||
|
] @keyword.control.import
|
||
|
|
||
|
[
|
||
|
"||"
|
||
|
"&&"
|
||
|
"=="
|
||
|
"!="
|
||
|
"<"
|
||
|
">"
|
||
|
"<="
|
||
|
">="
|
||
|
"+"
|
||
|
"-"
|
||
|
"*"
|
||
|
"/"
|
||
|
"%"
|
||
|
"^"
|
||
|
"?"
|
||
|
"!"
|
||
|
":"
|
||
|
] @operator
|
||
|
|
||
|
[
|
||
|
";"
|
||
|
","
|
||
|
"."
|
||
|
] @punctuation.delimiter
|
||
|
|
||
|
(comment) @comment
|