From ba072244ef31334ba07db9d4f646f8149a660fcc Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 11 May 2015 16:55:43 +0200 Subject: Emacs: Open .ejs files in web-mode --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 7275e85..cdb8500 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1443,7 +1443,8 @@ symbol, not word, as I need this for programming the most." (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 -- cgit 1.4.1