all repos — nixfiles @ ba072244ef31334ba07db9d4f646f8149a660fcc

System and user configuration, managed by nix and home-manager

Emacs: Open .ejs files in web-mode
Alan Pearce alan.pearce@spotcap.com
Mon, 11 May 2015 16:55:43 +0200
commit

ba072244ef31334ba07db9d4f646f8149a660fcc

parent

c8f84ed394e4773d8bc6d499368708db0ad1570a

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-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