summaryrefslogtreecommitdiff
path: root/queries/bash
diff options
context:
space:
mode:
Diffstat (limited to 'queries/bash')
-rw-r--r--queries/bash/highlights.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/queries/bash/highlights.scm b/queries/bash/highlights.scm
index 892546fc..783b149e 100644
--- a/queries/bash/highlights.scm
+++ b/queries/bash/highlights.scm
@@ -14,6 +14,10 @@
] @punctuation.delimiter
[
+ "$"
+] @punctuation.special
+
+[
">"
"<"
"&"
@@ -31,6 +35,8 @@
(heredoc_body)
] @string
+(variable_assignment (word) @string)
+
[
"if"
"then"
@@ -95,9 +101,6 @@
descriptor: (file_descriptor) @operator
destination: (word) @parameter)
-
-("$" (variable_name)) @variable
-
(expansion
[ "${" "}" ] @punctuation.bracket)
@@ -107,4 +110,3 @@
value: (word) @parameter)
(concatenation (word) @parameter)
-