Add @keyword.operator for operators that are English words and add @exception for Java/JS

This commit is contained in:
Stephan Seitz 2020-09-13 15:08:11 +02:00 committed by Stephan Seitz
parent c1313ba7af
commit 7e3c4f8089
10 changed files with 75 additions and 27 deletions

View file

@ -157,15 +157,19 @@
"|"
"|="
"~"
"->"
] @operator
; Keywords
[
"and"
"in"
"is"
"not"
"or"
"->"
] @operator
; Keywords
"del"
] @keyword.operator
[
"assert"
@ -173,7 +177,6 @@
"await"
"class"
"def"
"del"
"except"
"exec"
"finally"