summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2015-10-09 16:33:51 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2015-10-09 16:35:15 -0400
commit2806bfa29ed9348935de3f4becff2ae9f9a506e8 (patch)
tree3952ac69f337c5e44890bb912332fb7153662166
parente331c546eb9b2d8196a6f7ff71a22e04b2f1c2de (diff)
emacs: Use web-mode with erb files.
-rw-r--r--dotfiles/.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el
index c3a6c06..f914a41 100644
--- a/dotfiles/.emacs.d/init.el
+++ b/dotfiles/.emacs.d/init.el
@@ -220,7 +220,8 @@ might be bad."
(when-require 'web-mode
(add-to-list 'auto-mode-alist '("\\.html$" . web-mode))
- (add-to-list 'auto-mode-alist '("\\.tpl$" . web-mode)))
+ (add-to-list 'auto-mode-alist '("\\.tpl$" . web-mode))
+ (add-to-list 'auto-mode-alist '("\\.erb$" . web-mode)))
;;;
;;; PHP