mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 00:25:39 +01:00
Merge pull request #288 from G-Rath/patch-3
fix(ts): add missing keywords
This commit is contained in:
commit
3a1a94936c
@ -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)\>"
|
||||
|
Loading…
Reference in New Issue
Block a user