mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
highlights(c/c++): "..." also exists in C (variadic macros)
This commit is contained in:
parent
5d2faa0466
commit
506e998da2
2 changed files with 2 additions and 1 deletions
|
|
@ -95,6 +95,8 @@
|
||||||
|
|
||||||
[ "." ";" ":" "," ] @punctuation.delimiter
|
[ "." ";" ":" "," ] @punctuation.delimiter
|
||||||
|
|
||||||
|
"..." @punctuation.special
|
||||||
|
|
||||||
(conditional_expression [ "?" ":" ] @conditional)
|
(conditional_expression [ "?" ":" ] @conditional)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,6 @@
|
||||||
] @keyword.operator
|
] @keyword.operator
|
||||||
|
|
||||||
"::" @operator
|
"::" @operator
|
||||||
"..." @operator
|
|
||||||
|
|
||||||
; Annotations (not fully supported by parser)
|
; Annotations (not fully supported by parser)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue