mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 09:56:19 +04:00
ee889aaa85
* updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
55 lines
587 B
Scheme
55 lines
587 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
|
|
|
|
[
|
|
"$"
|
|
"&&"
|
|
">"
|
|
">>"
|
|
"<"
|
|
"|"
|
|
] @operator
|
|
|
|
(
|
|
(command (_) @constant)
|
|
(#match? @constant "^-")
|
|
)
|