Emacs: Open .ejs files in web-mode
Alan Pearce alan.pearce@spotcap.com
Mon, 11 May 2015 16:55:43 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -1443,7 +1443,8 @@ (req-package web-mode :mode (("/views/.*\\.php\\'" . web-mode) ("/layouts/.*\\.html\\'" . web-mode) - ("/templates/.*\\.php\\'" . web-mode)) + ("/templates/.*\\.php\\'" . web-mode) + ("\\.ejs\\'" . web-mode)) :config (setq web-mode-code-indent-offset 4 web-mode-css-indent-offset 4 web-mode-markup-indent-offset 4