Update highlight for ecma/js/ts (#6205)

pull/6211/head
Erasin Wang 2 years ago committed by GitHub
parent cfb9986d84
commit bc50502b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -167,55 +167,76 @@
] @punctuation.bracket
[
"as"
"async"
"debugger"
"delete"
"extends"
"from"
"function"
"get"
"in"
"instanceof"
"new"
"of"
"set"
"static"
"target"
"try"
"typeof"
"instanceof"
"void"
"with"
] @keyword
[
"of"
"as"
"in"
] @keyword.operator
[
"function"
] @keyword.function
[
"class"
"let"
"const"
"var"
] @keyword.storage.type
[
"switch"
"case"
"const"
"static"
] @keyword.storage.modifier
[
"default"
"if"
"else"
"yield"
"throw"
"finally"
"return"
"catch"
"continue"
"while"
"break"
"for"
"do"
"await"
] @keyword.control
[
"if"
"else"
"switch"
"case"
"while"
] @keyword.control.conditional
[
"for"
] @keyword.control.repeat
[
"import"
"export"
] @keyword.control.import
[
"return"
"break"
"continue"
] @keyword.control.return
[
"throw"
"try"
"catch"
] @keyword.control.exception

Loading…
Cancel
Save