Emacs: open twig files in web-mode
Alan Pearce alan@alanpearce.co.uk
Fri, 06 Jun 2014 15:46:16 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -965,6 +965,7 @@ (add-hook 'web-mode-hook #'emmet-mode)))) (req-package web-mode :mode (("/views/.*\\.php\\'" . web-mode) + ("\\.html\\.twig\\'" . web-mode) ("/templates/.*\\.php\\'" . web-mode)) :config (setq web-mode-code-indent-offset 4 web-mode-css-indent-offset 4