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

@ -5,7 +5,6 @@
[
"alias"
"and"
"begin"
"break"
"class"
@ -13,10 +12,8 @@
"do"
"end"
"ensure"
"in"
"module"
"next"
"or"
"rescue"
"retry"
"return"
@ -24,6 +21,12 @@
"yield"
] @keyword
[
"and"
"or"
"in"
] @keyword.operator
[
"case"
"else"