fix(ts): add missing keywords

This commit is contained in:
Gareth Jones 2020-03-12 15:35:16 +13:00 committed by GitHub
parent 137cac79fa
commit 56e63831c4
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|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|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)\>"