mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(nix): misc. operator/punctuation highlights
This commit is contained in:
parent
ee2785ba6a
commit
3c996dc9fa
1 changed files with 7 additions and 0 deletions
|
|
@ -55,6 +55,7 @@
|
|||
[
|
||||
"."
|
||||
";"
|
||||
":"
|
||||
","
|
||||
] @punctuation.delimiter
|
||||
|
||||
|
|
@ -187,6 +188,12 @@
|
|||
(binary_expression
|
||||
operator: _ @operator)
|
||||
|
||||
[
|
||||
"="
|
||||
"@"
|
||||
"?"
|
||||
] @operator
|
||||
|
||||
; integers, also highlight a unary -
|
||||
[
|
||||
(unary_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue