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:
mliszcz 2022-10-11 14:31:19 +02:00 committed by Christian Clason
parent 57c09f4d11
commit 276718c245

View file

@ -158,20 +158,17 @@
"new"
"delete"
;; these keywords are not supported by the parser
;"eq"
;"not_eq"
;
;"compl"
;"and"
;"or"
;
;"bitand"
;"bitand_eq"
;"bitor"
;"bitor_eq"
;"xor"
;"xor_eq"
"xor"
"bitand"
"bitor"
"compl"
"not"
"xor_eq"
"and_eq"
"or_eq"
"not_eq"
"and"
"or"
] @keyword.operator
"<=>" @operator