From b6627d0641c3289564b2496afd7750e8ad7acd03 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Thu, 12 Mar 2020 15:36:48 +1300 Subject: [PATCH] fix(ts): add `asserts` and `is` keyword --- ts.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts.nanorc b/ts.nanorc index 2ae3ca8..bab8652 100644 --- a/ts.nanorc +++ b/ts.nanorc @@ -11,11 +11,11 @@ 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 "\<(as|abstract|boolean|break|byte|case|catch)\>" +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|infer|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|type)\>" color green "\<(void|while|with|yield)\>"