Emacs: enable web-mode in hugo theme layouts
Alan Pearce alan@alanpearce.co.uk
Tue, 10 Jun 2014 19:29:45 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → 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