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.
55 lines
556 B
Scheme
55 lines
556 B
Scheme
4 years ago
|
[
|
||
|
(string)
|
||
|
(raw_string)
|
||
|
(heredoc_body)
|
||
|
(heredoc_start)
|
||
|
] @string
|
||
|
|
||
|
(command_name) @function
|
||
|
|
||
|
(variable_name) @property
|
||
|
|
||
|
[
|
||
|
"case"
|
||
|
"do"
|
||
|
"done"
|
||
|
"elif"
|
||
|
"else"
|
||
|
"esac"
|
||
|
"export"
|
||
|
"fi"
|
||
|
"for"
|
||
|
"function"
|
||
|
"if"
|
||
|
"in"
|
||
|
"unset"
|
||
|
"while"
|
||
|
"then"
|
||
|
] @keyword
|
||
|
|
||
|
(comment) @comment
|
||
|
|
||
|
(function_definition name: (word) @function)
|
||
|
|
||
|
(file_descriptor) @number
|
||
|
|
||
|
[
|
||
|
(command_substitution)
|
||
|
(process_substitution)
|
||
|
(expansion)
|
||
|
]@embedded
|
||
|
|
||
|
[
|
||
|
"$"
|
||
|
"&&"
|
||
|
">"
|
||
|
">>"
|
||
|
"<"
|
||
|
"|"
|
||
|
] @operator
|
||
|
|
||
|
(
|
||
|
(command (_) @constant)
|
||
|
(#match? @constant "^-")
|
||
|
)
|