mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -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"
|
||||
"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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue