aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/javascript/highlights.scm35
1 files changed, 19 insertions, 16 deletions
diff --git a/runtime/queries/javascript/highlights.scm b/runtime/queries/javascript/highlights.scm
index 6163b680..2616dffa 100644
--- a/runtime/queries/javascript/highlights.scm
+++ b/runtime/queries/javascript/highlights.scm
@@ -163,43 +163,46 @@
[
"as"
"async"
- "await"
- "break"
- "case"
- "catch"
"class"
"const"
- "continue"
"debugger"
- "default"
"delete"
- "do"
- "else"
"export"
"extends"
- "finally"
- "for"
"from"
"function"
"get"
- "if"
"import"
"in"
"instanceof"
"let"
"new"
"of"
- "return"
"set"
"static"
- "switch"
"target"
- "throw"
"try"
"typeof"
"var"
"void"
- "while"
"with"
- "yield"
] @keyword
+
+[
+ "switch"
+ "case"
+ "default"
+ "if"
+ "else"
+ "yield"
+ "throw"
+ "finally"
+ "return"
+ "catch"
+ "continue"
+ "while"
+ "break"
+ "for"
+ "do"
+ "await"
+] @keyword.control