From afeab94a90c3c42d115e1986752ac1e8ca66f39c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 10 Jun 2014 19:29:45 +0100 Subject: Emacs: enable web-mode in hugo theme layouts --- tag-emacs/emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'tag-emacs/emacs.d/init.el') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 404f1aa7..b1c1b7a6 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -974,6 +974,7 @@ (req-package web-mode :mode (("/views/.*\\.php\\'" . web-mode) ("\\.html\\.twig\\'" . web-mode) + ("/layouts/.*\\.html" . web-mode) ("/templates/.*\\.php\\'" . web-mode)) :config (setq web-mode-code-indent-offset 4 web-mode-css-indent-offset 4 -- cgit 1.4.1