Skip to content

Commit

Permalink
Add JavaScript control keywords (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrybrash authored Apr 17, 2022
1 parent b67e061 commit c45fb08
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions runtime/queries/javascript/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c45fb08

Please sign in to comment.