From ed7ea8c9ba639daebdbc81630bd789aeb344e2d4 Mon Sep 17 00:00:00 2001 From: seshotake Date: Tue, 1 Nov 2022 02:23:09 +0200 Subject: add highlights for env and ini file formats (#4536) --- runtime/queries/env/highlights.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 runtime/queries/env/highlights.scm (limited to 'runtime/queries/env') 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 -- cgit v1.2.3-70-g09d2