mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
Add @keyword.operator for operators that are English words and add @exception for Java/JS
This commit is contained in:
parent
c1313ba7af
commit
7e3c4f8089
10 changed files with 75 additions and 27 deletions
|
|
@ -51,15 +51,19 @@
|
|||
] @keyword
|
||||
|
||||
;; Operators
|
||||
|
||||
[
|
||||
"not"
|
||||
"and"
|
||||
"or"
|
||||
] @keyword.operator
|
||||
|
||||
[
|
||||
"="
|
||||
"~="
|
||||
"=="
|
||||
"<="
|
||||
">="
|
||||
"not"
|
||||
"and"
|
||||
"or"
|
||||
"<"
|
||||
">"
|
||||
"+"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue