mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
highlights(cpp): add alternative operator names
These keywords are now supported by the parser. See: https://github.com/tree-sitter/tree-sitter-cpp/pull/179
This commit is contained in:
parent
57c09f4d11
commit
276718c245
1 changed files with 11 additions and 14 deletions
|
|
@ -158,20 +158,17 @@
|
||||||
"new"
|
"new"
|
||||||
"delete"
|
"delete"
|
||||||
|
|
||||||
;; these keywords are not supported by the parser
|
"xor"
|
||||||
;"eq"
|
"bitand"
|
||||||
;"not_eq"
|
"bitor"
|
||||||
;
|
"compl"
|
||||||
;"compl"
|
"not"
|
||||||
;"and"
|
"xor_eq"
|
||||||
;"or"
|
"and_eq"
|
||||||
;
|
"or_eq"
|
||||||
;"bitand"
|
"not_eq"
|
||||||
;"bitand_eq"
|
"and"
|
||||||
;"bitor"
|
"or"
|
||||||
;"bitor_eq"
|
|
||||||
;"xor"
|
|
||||||
;"xor_eq"
|
|
||||||
] @keyword.operator
|
] @keyword.operator
|
||||||
|
|
||||||
"<=>" @operator
|
"<=>" @operator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue