branch: elpa/swift-mode commit fca914acd821ab51fa7a14c034c342a630c79501 Merge: a3caf1d 5611c0f Author: Bozhidar Batsov <bozhidar.bat...@gmail.com> Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>
Merge pull request #63 from ckruse/updated_syntax Updated syntax: a lot of attributes moved to keywords --- 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