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:
parent
f924fc9baa
commit
daf8391edf
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue