summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnanda Umamil <zweimach@zweimach.org>2022-09-07 00:40:23 +0700
committerStephan Seitz <stephan.seitz@fau.de>2022-09-08 03:42:59 -0700
commit9b13872f19aa97916ba0ae92bac6fb9e2c1dd06d (patch)
tree19799baf39a9b9809a41f7bf1e40cfa6bb066171
parentd6bad5aeea6e2d18a63bb320791fe57c205aef78 (diff)
highlights(meson): delimiter and operatorunit
-rw-r--r--queries/meson/highlights.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/meson/highlights.scm b/queries/meson/highlights.scm
index 4f842b45..7b7c75a9 100644
--- a/queries/meson/highlights.scm
+++ b/queries/meson/highlights.scm
@@ -13,6 +13,12 @@
@punctuation.bracket
[
+ ":"
+ ","
+ "."
+] @punctuation.delimiter
+
+[
"and"
"not"
"or"
@@ -59,6 +65,9 @@
(list
variable: (identifier) @variable)
+(operatorunit
+ (identifier) @variable)
+
(formatunit
variable: (identifier) @variable)