From 04ecc495b78f33adf37967198e7b030d50f2b869 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 6 Jun 2014 15:46:16 +0100 Subject: Emacs: open twig files in web-mode --- tag-emacs/emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index e8f8fb25..39710324 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -965,6 +965,7 @@ (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 -- cgit 1.4.1