Skip to content

Commit

Permalink
Merge pull request #609 from emacs-php/add-stub-extension
Browse files Browse the repository at this point in the history
Add file extension .php.inc and .stub
  • Loading branch information
zonuexe authored Jan 21, 2020
2 parents 17fe1f8 + 8bd216d commit cade4ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,7 @@ The output will appear in the buffer *PHP*."
;;;###autoload
(progn
(add-to-list 'auto-mode-alist '("/\\.php_cs\\(?:\\.dist\\)?\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.\\(?:php\\.inc\\|stub\\)\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.\\(?:php[s345]?\\|phtml\\)\\'" . php-mode-maybe)))

(provide 'php-mode)
Expand Down

0 comments on commit cade4ce

Please sign in to comment.