summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-06-10 19:29:45 +0100
committerAlan Pearce2014-06-10 19:29:45 +0100
commitafeab94a90c3c42d115e1986752ac1e8ca66f39c (patch)
tree37e9a04a77d14cba1a11db7c6bc8f9c02cf9e453 /tag-emacs
parent109a3239c2f2832aeb062c08c40063149b5f1eb3 (diff)
downloaddotfiles-afeab94a90c3c42d115e1986752ac1e8ca66f39c.tar.lz
dotfiles-afeab94a90c3c42d115e1986752ac1e8ca66f39c.tar.zst
dotfiles-afeab94a90c3c42d115e1986752ac1e8ca66f39c.zip
Emacs: enable web-mode in hugo theme layouts
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 404f1aa..b1c1b7a 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