Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/env/highlights.scm')
-rw-r--r--runtime/queries/env/highlights.scm20
1 files changed, 19 insertions, 1 deletions
diff --git a/runtime/queries/env/highlights.scm b/runtime/queries/env/highlights.scm
index 8a70c41c..6a27e8e5 100644
--- a/runtime/queries/env/highlights.scm
+++ b/runtime/queries/env/highlights.scm
@@ -1 +1,19 @@
-; inherits: bash \ No newline at end of file
+(env_variable (quoted_string)) @string
+(env_variable (unquoted_string)) @string
+
+(env_key) @keyword
+
+((variable) @keyword
+ (#match? @keyword "^([A-Z][A-Z_0-9]*)$"))
+
+[
+ "{"
+ "}"
+] @punctuation.bracket
+
+[
+ "$"
+ "="
+] @operator
+
+(comment) @comment \ No newline at end of file