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

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

[nongnu] elpa/typescript-mode 49241bcc1f 011/222: Merge pull request #3


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 49241bcc1f 011/222: Merge pull request #3 from OrangeShark/typescript1.5
Date: Sun, 6 Feb 2022 16:58:59 -0500 (EST)

branch: elpa/typescript-mode
commit 49241bcc1f60b3787ccd9448a559f792156907a9
Merge: 36f685251f 256d930586
Author: Anantha Kumaran <ananthakumaran@gmail.com>
Commit: Anantha Kumaran <ananthakumaran@gmail.com>

    Merge pull request #3 from OrangeShark/typescript1.5
    
    Add missing keywords from TypeScript 1.5 and 1.4
---
 typescript-mode.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/typescript-mode.el b/typescript-mode.el
index d57f53894b..59da4d4a06 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -276,14 +276,14 @@ 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"
+     "try" "type" "typeof" "var" "void"
      "while" ))
   "Regexp matching any typescript keyword.")
 



reply via email to

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