branch: elpa/swift-mode
commit db3603a246b81eaf7f5dd4c5b5b4f8b365e73b19
Author: taku0 <mxxouy6x3m_git...@tatapa.org>
Commit: taku0 <mxxouy6x3m_git...@tatapa.org>

    Highlight async/await
---
 swift-mode-font-lock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el
index a77d152..dc85f1b 100644
--- a/swift-mode-font-lock.el
+++ b/swift-mode-font-lock.el
@@ -550,7 +550,7 @@ Return nil otherwise."
 
 (defconst swift-mode:expression-keywords
   '("as" "catch" "dynamicType" "is" "rethrows" "super" "self" "Self" "throws"
-    "throw" "try")
+    "throw" "try" "async" "await")
   "Keywords used in expressions and types.
 
 Excludes true, false, and keywords begin with a number sign.")

Reply via email to