summaryrefslogtreecommitdiff
path: root/settings/setup-web-mode.el
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2017-06-06 11:03:26 -0700
committerbenj <benj@rse8.com>2017-06-06 11:03:26 -0700
commit6a0fbbd87a717788991cd61af1cbd73881819b6d (patch)
tree272283e43e233b85d34ba72a2fea2f25f5e7a404 /settings/setup-web-mode.el
parent84fc1dbdb9ca9b83df05d135a5edcff25ffa5db3 (diff)
parent53853e36fa71b0c2d79d3593ebddd70b9be3b26b (diff)
downloademacs-6a0fbbd87a717788991cd61af1cbd73881819b6d.tar
emacs-6a0fbbd87a717788991cd61af1cbd73881819b6d.tar.gz
emacs-6a0fbbd87a717788991cd61af1cbd73881819b6d.tar.bz2
emacs-6a0fbbd87a717788991cd61af1cbd73881819b6d.tar.lz
emacs-6a0fbbd87a717788991cd61af1cbd73881819b6d.tar.xz
emacs-6a0fbbd87a717788991cd61af1cbd73881819b6d.tar.zst
emacs-6a0fbbd87a717788991cd61af1cbd73881819b6d.zip
Merge branch 'master' of https://github.com/benjbellon/emacs.d
Diffstat (limited to '')
-rw-r--r--settings/setup-web-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/setup-web-mode.el b/settings/setup-web-mode.el
index b3893cf..92cfec2 100644
--- a/settings/setup-web-mode.el
+++ b/settings/setup-web-mode.el
@@ -2,7 +2,8 @@
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
-(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.tpl\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.js\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))