diff options
author | seshotake | 2022-11-01 00:23:09 +0000 |
---|---|---|
committer | GitHub | 2022-11-01 00:23:09 +0000 |
commit | ed7ea8c9ba639daebdbc81630bd789aeb344e2d4 (patch) | |
tree | fce07e1367d1e4c0e4d457aa54c2a1f72ba2bbf4 /runtime/queries/env | |
parent | 9df43584924a72be88f537ac432e5976430fa3f1 (diff) |
add highlights for env and ini file formats (#4536)
Diffstat (limited to 'runtime/queries/env')
-rw-r--r-- | runtime/queries/env/highlights.scm | 19 |
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 |