all repos — nixfiles @ afeab94a90c3c42d115e1986752ac1e8ca66f39c

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

Emacs: enable web-mode in hugo theme layouts
Alan Pearce alan@alanpearce.co.uk
Tue, 10 Jun 2014 19:29:45 +0100
commit

afeab94a90c3c42d115e1986752ac1e8ca66f39c

parent

109a3239c2f2832aeb062c08c40063149b5f1eb3

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

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