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

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

[nongnu] elpa/swift-mode 5611c0f 164/496: Updated syntax: a lot of attri


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 5611c0f 164/496: Updated syntax: a lot of attributes moved to keywords
Date: Sun, 29 Aug 2021 11:33:28 -0400 (EDT)

branch: elpa/swift-mode
commit 5611c0f32960539036616b2072aaad3365ba20ab
Author: Christian Kruse <cjk@defunct.ch>
Commit: Christian Kruse <cjk@defunct.ch>

    Updated syntax: a lot of attributes moved to keywords
    
    - required, dynamic, final, lazy and optional are now keywords
    - the assignment attribute no longer exists
    
    Source:
    
<https://developer.apple.com/library/mac/documentation/swift/conceptual/Swift_Programming_Language/RevisionHistory.html>
---
 swift-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/swift-mode.el b/swift-mode.el
index 7d69b9f..81d6553 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -331,11 +331,12 @@
 (defvar swift-mode--contextual-keywords
   '("associativity" "didSet" "get" "infix" "inout" "left" "mutating" "none"
     "nonmutating" "operator" "override" "postfix" "precedence" "prefix" "right"
-    "set" "unowned" "unowned(safe)" "unowned(unsafe)" "weak" "willSet" 
"convenience"))
+    "set" "unowned" "unowned(safe)" "unowned(unsafe)" "weak" "willSet" 
"convenience"
+    "required" "dynamic" "final" "lazy" "optional"))
 
 (defvar swift-mode--attribute-keywords
-  '("assignment" "class_protocol" "exported" "final" "lazy" "noreturn"
-    "NSCopying" "NSManaged" "objc" "optional" "required" "auto_closure"
+  '("class_protocol" "exported" "noreturn"
+    "NSCopying" "NSManaged" "objc" "auto_closure"
     "IBAction" "IBDesignable" "IBInspectable" "IBOutlet"))
 
 (defvar swift-mode--keywords



reply via email to

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