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" "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