summaryrefslogtreecommitdiff
path: root/runtime/queries/env/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/env/highlights.scm')
-rw-r--r--runtime/queries/env/highlights.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/queries/env/highlights.scm b/runtime/queries/env/highlights.scm
new file mode 100644
index 00000000..6a27e8e5
--- /dev/null
+++ b/runtime/queries/env/highlights.scm
@@ -0,0 +1,19 @@
+(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