emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/typescript-mode b62f52a35c 009/222: Add let, const, namesp


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode b62f52a35c 009/222: Add let, const, namespace keywords from 1.5
Date: Sun, 6 Feb 2022 16:58:59 -0500 (EST)

branch: elpa/typescript-mode
commit b62f52a35c8a20d3fe0d9dd04a2477189350d20a
Author: Erik Edrosa <erik.edrosa@gmail.com>
Commit: Erik Edrosa <erik.edrosa@gmail.com>

    Add let, const, namespace keywords from 1.5
---
 typescript-mode.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/typescript-mode.el b/typescript-mode.el
index d57f53894b..68a55eff1b 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -276,12 +276,12 @@ Match group 1 is the name of the macro.")
 
 (defconst typescript--keyword-re
   (typescript--regexp-opt-symbol
-   '("any" "bool" "boolean" "break" "case" "catch" "class" "constructor"
-     "continue" "declare" "default" "delete" "do" "else"
+   '("any" "bool" "boolean" "break" "case" "catch" "class" "const"
+     "constructor" "continue" "declare" "default" "delete" "do" "else"
      "enum" "export" "extends" "extern" "false" "finally" "for"
-     "function" "goto" "if" "implements" "import" "in"
-     "instanceof" "interface" "module" "new" "null" "number"
-      "private" "protected" "public" "return" "static" "string"
+     "function" "goto" "if" "implements" "import" "in" "instanceof"
+     "interface" "let" "module" "namespace" "new" "null" "number"
+     "private" "protected" "public" "return" "static" "string"
      "super" "switch"  "this" "throw" "true"
      "try" "typeof" "var" "void"
      "while" ))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]