mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -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
|
] @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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue