Merge pull request #288 from G-Rath/patch-3

fix(ts): add missing keywords
This commit is contained in:
Anthony Scopatz 2020-03-11 23:15:18 -04:00 committed by GitHub
commit 3a1a94936c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -11,15 +11,18 @@ color yellow "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
color yellow "\<[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
## Keywords
color green "\<(abstract|boolean|break|byte|case|catch|set)\>"
color green "\<(as|abstract|asserts|boolean|break|byte|case|catch)\>"
color green "\<(class|const|continue|debugger|default|delete|readonly)\>"
color green "\<(do|else|enum|export|extends|finally|final|for)\>"
color green "\<(from|function|goto|if|implements|import|instanceof)\>"
color green "\<(var|interface|int|in|let|new|package|private)\>"
color green "\<(var|interface|int|in|is|infer|let|new|package|private)\>"
color green "\<(protected|public|return|static|super|switch)\>"
color green "\<(this|throw|try|typeof)\>"
color green "\<(this|throw|try|typeof|type)\>"
color green "\<(void|while|with|yield)\>"
color green "\<(async|await)\>"
color green "\<(set|get)\>"
color green "\<(module|namespace)\>"
color green "\<(declare)\>"
## Type specifiers
color red "\<(Array|Boolean|Date|Enumerator|Error|Function)\>"