mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
[language-c] Highlight “and”/“or”/“not” in C++
This commit is contained in:
parent
c4d6842411
commit
b5f66353f4
@ -479,6 +479,8 @@
|
||||
|
||||
|
||||
["&&" "||"] @keyword.operator.logical.cpp
|
||||
(binary_expression
|
||||
["and" "or"] @keyword.operator.logical.cpp)
|
||||
|
||||
"++" @keyword.operator.increment.cpp
|
||||
"--" @keyword.operator.decrement.cpp
|
||||
@ -495,6 +497,7 @@
|
||||
|
||||
(unary_expression
|
||||
["+" "-" "!"] @keyword.operator.unary.cpp)
|
||||
(unary_expression "not" @keyword.operator.unary.cpp)
|
||||
|
||||
(conditional_expression
|
||||
["?" ":"] @keyword.operator.ternary.cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user