From 06bb4d5090a439692be3194f72d0206d82beb279 Mon Sep 17 00:00:00 2001 From: Kisaragi Hiu Date: Tue, 7 May 2024 14:09:09 +0900 Subject: [PATCH] feat: highlight TS 4.9 satisfies as a keyword --- typescript-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typescript-mode.el b/typescript-mode.el index aa7e5b2..8381294 100644 --- a/typescript-mode.el +++ b/typescript-mode.el @@ -270,8 +270,8 @@ Match group 1 is MUMBLE.") "enum" "export" "extends" "extern" "false" "finally" "for" "function" "from" "get" "goto" "if" "implements" "import" "in" "infer" "instanceof" "interface" "keyof" "let" "module" "namespace" "never" "new" "null" "number" "object" "of" - "override" "private" "protected" "public" "readonly" "return" "set" "static" "string" - "super" "switch" "this" "throw" "true" + "override" "private" "protected" "public" "readonly" "return" "satisfies" "set" "static" + "string" "super" "switch" "this" "throw" "true" "try" "type" "typeof" "unknown" "var" "void" "while")) ; yield is handled separately "Regexp matching any typescript keyword.")