branch: elpa/swift-mode
commit 00001ea11435d460caea3ea924cb419cc453aabb
Author: Chris Barrett <chris.d.barr...@me.com>
Commit: Chris Barrett <chris.d.barr...@me.com>

    Fix keywords list
---
 swift-mode.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/swift-mode.el b/swift-mode.el
index 04735d8..5dead84 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -48,10 +48,6 @@
   '("break" "case" "continue" "default" "do" "else" "fallthrough"
     "if" "in" "for" "return" "switch" "where" "while"))
 
-(defvar swift-mode--expression-keywords
-  '("as" "dynamicType" "is" "new" "super" "self" "Self" "Type"
-    "__COLUMN__" "__FILE__" "__FUNCTION__" "__LINE__"))
-
 (defvar swift-mode--contextual-keywords
   '("associativity" "didSet" "get" "infix" "inout" "left" "mutating" "none"
     "nonmutating" "operator" "override" "postfix" "precedence" "prefix" "right"
@@ -61,8 +57,8 @@
   (-flatten (list swift-mode--type-decl-keywords
                   swift-mode--val-decl-keywords
                   swift-mode--fn-decl-keywords
+                  swift-mode--misc-keywords
                   swift-mode--statement-keywords
-                  swift-mode--expression-keywords
                   swift-mode--contextual-keywords))
   "Keywords used in the Swift language.")
 

Reply via email to