Added twig support

This commit is contained in:
Jesús
2019-08-16 22:37:25 -05:00
parent 937fc7f051
commit 8a91d329a8
2 changed files with 6 additions and 0 deletions

View File

@@ -41,6 +41,11 @@
(set-default 'truncate-lines t)
(setq show-trailing-whitespace nil)
;;---------------------------------------------------------------------------
;; XML
;;--------------------------------------------------------------------------
(setq nxml-child-indent 4 nxml-attribute-indent 4)
;;----------------------------------------------------------------------------
;; Some basic preferences
;;----------------------------------------------------------------------------

View File

@@ -9,6 +9,7 @@
("\\.djhtml\\'" . web-mode)
("\\.blade.php\\'" . web-mode)
("\\.tpl\\'" . web-mode)
("\\.twig\\'" . web-mode)
("\\.jsp\\'" . web-mode)
("\\.gsp\\'" . web-mode)
("\\.scss\\'" . web-mode)