Skip to content

Commit bbcc4da

Browse files
committed
Fix major mode for .phpt file
1 parent f7dbbea commit bbcc4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: php.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ You can replace \"en\" with your ISO language code."
107107

108108
(defcustom php-template-mode-alist
109109
`(("\\.blade" . ,php-blade-template-major-mode)
110-
("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-html-template-major-mode))
110+
("\\.phpt\\'" . ,(if (fboundp 'phpt-mode) 'phpt-mode php-default-major-mode))
111111
("\\.phtml\\'" . ,php-html-template-major-mode))
112112
"Automatically use another MAJOR-MODE when open template file."
113113
:group 'php

0 commit comments

Comments
 (0)