on 6c11708 help sign in
helix/runtime/queries/bash/highlights.scm
54 lines 587 B history raw
1[
2 (string)
3 (raw_string)
4 (heredoc_body)
5 (heredoc_start)
6] @string
8(command_name) @function
10(variable_name) @variable.other.member
13 "case"
14 "do"
15 "done"
16 "elif"
17 "else"
18 "esac"
19 "export"
20 "fi"
21 "for"
22 "function"
23 "if"
24 "in"
25 "unset"
26 "while"
27 "then"
28] @keyword
30(comment) @comment
32(function_definition name: (word) @function)
34(file_descriptor) @constant.numeric.integer
37 (command_substitution)
38 (process_substitution)
39 (expansion)
40]@embedded
43 "$"
44 "&&"
45 ">"
46 ">>"
47 "<"
48 "|"
49] @operator
52 (command (_) @constant)
53 (#match? @constant "^-")