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

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

[nongnu] elpa/typescript-mode 514d6f0416 012/222: Add 'async' and 'await


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 514d6f0416 012/222: Add 'async' and 'await' as keywords
Date: Sun, 6 Feb 2022 16:58:59 -0500 (EST)

branch: elpa/typescript-mode
commit 514d6f041614d6575927fe954bb8a2f283fa576a
Author: Paul Koerbitz <paul.koerbitz@gmail.com>
Commit: Paul Koerbitz <paul.koerbitz@gmail.com>

    Add 'async' and 'await' as keywords
    
    They are available since TypeScript 1.7 (feature gated in 1.6)
---
 typescript-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typescript-mode.el b/typescript-mode.el
index 59da4d4a06..fc1629c44f 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -276,7 +276,7 @@ Match group 1 is the name of the macro.")
 
 (defconst typescript--keyword-re
   (typescript--regexp-opt-symbol
-   '("any" "bool" "boolean" "break" "case" "catch" "class" "const"
+   '("any" "async" "await" "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"



reply via email to

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