Skip to content

Commit

Permalink
Open .swiftinterface files in Swift mode
Browse files Browse the repository at this point in the history
These files were being opened in the default Fundamental mode.
  • Loading branch information
jpgrayson authored and taku0 committed Sep 30, 2023
1 parent a22f053 commit 73d20b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Signal `scan-error' if it hits opening parentheses."
(swift-mode:current-defun-name))))
(setq-local add-log-current-defun-function #'swift-mode:current-defun-name))

;;;###autoload (add-to-list 'auto-mode-alist '("\\.swift\\'" . swift-mode))
;;;###autoload (add-to-list 'auto-mode-alist '("\\.swift\\(interface\\)?\\'" . swift-mode))

;;;###autoload (swift-mode:add-supported-extension-for-speedbar)

Expand Down

0 comments on commit 73d20b6

Please sign in to comment.