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

@ -184,30 +184,36 @@
"async"
"await"
"break"
"catch"
"class"
"const"
"debugger"
"delete"
"export"
"extends"
"finally"
"function"
"get"
"in"
"instanceof"
"let"
"new"
"return"
"set"
"static"
"switch"
"target"
"throw"
"try"
"typeof"
"var"
"void"
"with"
"yield"
] @keyword
[
"new"
"delete"
] @keyword.operator
[
"throw"
"try"
"catch"
"finally"
] @exception