branch: elpa/swift-mode commit 73cdda94387cef7e9eaa3e127be38397d8c63136 Author: ap4y <l...@pisem.net> Commit: ap4y <l...@pisem.net>
Don't put implicit semicolon after "(" --- swift-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift-mode.el b/swift-mode.el index 8f0e878..fa8a8a9 100644 --- a/swift-mode.el +++ b/swift-mode.el @@ -210,7 +210,7 @@ (defun swift-smie--implicit-semi-p () (save-excursion - (not (or (memq (char-before) '(?\{ ?\[ ?, ?. ?\? ?\: ?=)) + (not (or (memq (char-before) '(?\{ ?\[ ?, ?. ?\? ?: ?= ?\()) (looking-at "[ \n\t]+[.?:]") (and (looking-back swift-smie--operators-regexp (- (point) 3) t) ;; Not a generic type