feat(nix): misc. operator/punctuation highlights

This commit is contained in:
Riley Bruins 2024-03-30 19:30:07 -07:00 committed by Christian Clason
parent ee2785ba6a
commit 3c996dc9fa

View file

@ -55,6 +55,7 @@
[ [
"." "."
";" ";"
":"
"," ","
] @punctuation.delimiter ] @punctuation.delimiter
@ -187,6 +188,12 @@
(binary_expression (binary_expression
operator: _ @operator) operator: _ @operator)
[
"="
"@"
"?"
] @operator
; integers, also highlight a unary - ; integers, also highlight a unary -
[ [
(unary_expression (unary_expression