web-mode: fix smarty
This commit is contained in:
parent
e849d4be90
commit
0c5f0db3c5
@ -18,7 +18,11 @@
|
||||
(setq web-mode-enable-current-element-highlight t)
|
||||
(set-face-background 'web-mode-current-element-highlight-face "#a3a3a3")
|
||||
|
||||
;; Django hook
|
||||
;; Fix smarty
|
||||
(setq web-mode-engines-alist
|
||||
'(("smarty" . "\\.tpl\\'")))
|
||||
|
||||
;; Django
|
||||
;; require projectile
|
||||
(defun my-django-mode-hook ()
|
||||
(when (and (require 'web-mode nil t)
|
||||
|
Loading…
x
Reference in New Issue
Block a user