Add mode specifications for .inc and .module

.inc are a commonly used PHP extension for included files. .module is the Drupal module file extension.
This commit is contained in:
Tom Willemse 2018-06-19 10:45:30 -07:00
parent f924fc9baa
commit daf8391edf

View file

@ -311,9 +311,11 @@
:interactive)
(add-to-list 'auto-mode-alist '("\\.blade\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.inc\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
(add-to-list 'auto-mode-alist '("\\.jsx\\'" . rjsx-mode))
(add-to-list 'auto-mode-alist '("\\.mbsyncrc\\'" . mbsync-conf-mode))
(add-to-list 'auto-mode-alist '("\\.module\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.msmtprc\\'" . msmtprc-mode))
(add-hook 'git-commit-mode-hook 'electric-quote-local-mode)