diff options
author | 2015-01-07 02:38:48 +0100 | |
---|---|---|
committer | 2015-01-07 02:38:48 +0100 | |
commit | db1eea8e7ad223343bef421b689a75de585f0911 (patch) | |
tree | a60a6510acab81c3c74f4b2622d5234a11d4c2b4 /emacs/.emacs.d/init.org | |
parent | f1dc2d9b94c72203306002e4510ca2839c3ba8e9 (diff) | |
download | dotfiles-db1eea8e7ad223343bef421b689a75de585f0911.tar.gz dotfiles-db1eea8e7ad223343bef421b689a75de585f0911.zip |
Use web-mode for *.html.erb
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r-- | emacs/.emacs.d/init.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 9ae5c36..9ed1ed3 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1234,6 +1234,13 @@ web-mode-markup-indent-offset 4)) #+END_SRC + Use it for ~.html.erb~ files. + + #+BEGIN_SRC emacs-lisp + (oni:eval-after-init + (add-to-list 'auto-mode-alist '("\\.html\\.erb$" . web-mode))) + #+END_SRC + ** JavaScript Turn on electric indenting for JavaScript. |