mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
56 lines
607 B
Scheme
56 lines
607 B
Scheme
[
|
|
(string)
|
|
(raw_string)
|
|
(heredoc_body)
|
|
(heredoc_start)
|
|
] @string
|
|
|
|
(command_name) @function
|
|
|
|
(variable_name) @variable.other.member
|
|
|
|
[
|
|
"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) @constant.numeric.integer
|
|
|
|
[
|
|
(command_substitution)
|
|
(process_substitution)
|
|
(expansion)
|
|
]@embedded
|
|
|
|
[
|
|
"$"
|
|
"&&"
|
|
">"
|
|
">>"
|
|
"<"
|
|
"|"
|
|
(expansion_flags)
|
|
] @operator
|
|
|
|
(
|
|
(command (_) @constant)
|
|
(#match? @constant "^-")
|
|
)
|