branch: elpa/typescript-mode
commit 49241bcc1f60b3787ccd9448a559f792156907a9
Merge: 36f685251f 256d930586
Author: Anantha Kumaran <[email protected]>
Commit: Anantha Kumaran <[email protected]>
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.")