diff options
author | Alan Pearce | 2014-06-06 15:46:16 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-06 15:46:59 +0100 |
commit | 04ecc495b78f33adf37967198e7b030d50f2b869 (patch) | |
tree | ae556a17ff5ae2ddd32723c765561241989b82c1 | |
parent | d7e339ebccbc364046373e01c660527fa781ca79 (diff) | |
download | nixfiles-04ecc495b78f33adf37967198e7b030d50f2b869.tar.lz nixfiles-04ecc495b78f33adf37967198e7b030d50f2b869.tar.zst nixfiles-04ecc495b78f33adf37967198e7b030d50f2b869.zip |
Emacs: open twig files in web-mode
-rw-r--r-- | tag-emacs/emacs.d/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 |