summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
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