branch: elpa/swift-mode commit cfbc318d06d93b9a34a698276d5e749234bdaf90 Merge: 027522d a092adc Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Merge pull request #24 from ap4y/fix_paragraph_movements Return default paragraph definitions. --- swift-mode.el | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/swift-mode.el b/swift-mode.el index c191ce6..6c5a4a3 100644 --- a/swift-mode.el +++ b/swift-mode.el @@ -455,19 +455,7 @@ You can send text to the REPL process from other buffers containing source. (setq-local comment-end "") (setq-local tab-width swift-indent-offset) (setq-local indent-tabs-mode nil) - (setq-local indent-line-function 'swift-indent-line) - - (setq-local comment-start-skip - (rx (or (and "//" (* "/")) (and "/*" (* "*"))) (* space))) - - (setq-local paragraph-start - (rx-to-string `(and (* space) - (or (regex ,comment-start-skip) - (and "*" (? "/") (* space))) - eol) - t)) - - (setq-local paragraph-separate paragraph-start)) + (setq-local indent-line-function 'swift-indent-line)) ;;;###autoload (add-to-list 'auto-mode-alist '("\\.swift\\'" . swift-mode))