mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
highlights(cpp): add support for "<=>", "constinit", "consteval"
This commit is contained in:
parent
1b9d059c55
commit
788814fb06
1 changed files with 6 additions and 1 deletions
|
|
@ -127,6 +127,8 @@
|
||||||
"co_await"
|
"co_await"
|
||||||
"concept"
|
"concept"
|
||||||
"requires"
|
"requires"
|
||||||
|
"consteval"
|
||||||
|
"constinit"
|
||||||
(auto)
|
(auto)
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
|
|
@ -155,7 +157,10 @@
|
||||||
;"xor_eq"
|
;"xor_eq"
|
||||||
] @keyword.operator
|
] @keyword.operator
|
||||||
|
|
||||||
"::" @operator
|
[
|
||||||
|
"<=>"
|
||||||
|
"::"
|
||||||
|
] @operator
|
||||||
|
|
||||||
(attribute_declaration) @attribute
|
(attribute_declaration) @attribute
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue