diff options
author | Alan Pearce | 2015-05-11 16:55:43 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-11 16:55:43 +0200 |
commit | ba072244ef31334ba07db9d4f646f8149a660fcc (patch) | |
tree | 2cb19a08805abfe6e85536aacc7346b14f1f38dc | |
parent | c8f84ed394e4773d8bc6d499368708db0ad1570a (diff) | |
download | dotfiles-ba072244ef31334ba07db9d4f646f8149a660fcc.tar.lz dotfiles-ba072244ef31334ba07db9d4f646f8149a660fcc.tar.zst dotfiles-ba072244ef31334ba07db9d4f646f8149a660fcc.zip |
Emacs: Open .ejs files in web-mode
-rw-r--r-- | tag-emacs/emacs.d/init.el | 3 |
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 |