mirror of https://github.com/helix-editor/helix
parent
26dbdb70fb
commit
f0d1c85553
@ -0,0 +1,63 @@
|
||||
(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
|
Loading…
Reference in New Issue