Skip to content

Commit 73d20b6

Browse files
jpgraysontaku0
authored andcommitted
Open .swiftinterface files in Swift mode
These files were being opened in the default Fundamental mode.
1 parent a22f053 commit 73d20b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Signal `scan-error' if it hits opening parentheses."
241241
(swift-mode:current-defun-name))))
242242
(setq-local add-log-current-defun-function #'swift-mode:current-defun-name))
243243

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

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

0 commit comments

Comments
 (0)