mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
highlights(c): highlight ternary as conditional
This commit is contained in:
parent
d724073401
commit
255d1756b0
1 changed files with 1 additions and 2 deletions
|
|
@ -51,7 +51,7 @@
|
||||||
">=" @operator
|
">=" @operator
|
||||||
"!" @operator
|
"!" @operator
|
||||||
"||" @operator
|
"||" @operator
|
||||||
"?" @operator
|
(conditional_expression [ "?" ":" ] @conditional)
|
||||||
|
|
||||||
"-=" @operator
|
"-=" @operator
|
||||||
"+=" @operator
|
"+=" @operator
|
||||||
|
|
@ -113,4 +113,3 @@
|
||||||
(identifier)) @parameter
|
(identifier)) @parameter
|
||||||
|
|
||||||
(ERROR) @error
|
(ERROR) @error
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue