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

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

[nongnu] elpa/swift-mode 00001ea 009/496: Fix keywords list


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 00001ea 009/496: Fix keywords list
Date: Sun, 29 Aug 2021 11:32:57 -0400 (EDT)

branch: elpa/swift-mode
commit 00001ea11435d460caea3ea924cb419cc453aabb
Author: Chris Barrett <chris.d.barrett@me.com>
Commit: Chris Barrett <chris.d.barrett@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

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