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 committed Sep 28, 2023
1 parent 1244ee4 commit 962d9e0
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 962d9e0

Please sign in to comment.