aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/nix/highlights.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/queries/nix/highlights.scm b/queries/nix/highlights.scm
index 9f00167c4..9ec484d1c 100644
--- a/queries/nix/highlights.scm
+++ b/queries/nix/highlights.scm
@@ -55,6 +55,7 @@
[
"."
";"
+ ":"
","
] @punctuation.delimiter
@@ -187,6 +188,12 @@
(binary_expression
operator: _ @operator)
+[
+ "="
+ "@"
+ "?"
+] @operator
+
; integers, also highlight a unary -
[
(unary_expression