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

Loading…
Cancel
Save