branch: elpa/swift-mode commit c4943a8fda406dd24588c8eafcd502702a91479f Author: Chris Barrett <chris.d.barr...@me.com> Commit: Chris Barrett <chris.d.barr...@me.com>
Add to auto-mode-alist --- swift-mode.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swift-mode.el b/swift-mode.el index e533974..07feb94 100644 --- a/swift-mode.el +++ b/swift-mode.el @@ -177,6 +177,9 @@ (setq-local comment-start-skip (rx "//" (* "/") (* space))) ) +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.swift$" . swift-mode)) + (provide 'swift-mode) ;;; swift-mode.el ends here