forked from zaclys/searxng
Merge pull request #536 from return42/jinja2-mode.el
[emacs] .dir-locals.el: use jinja2-mode to format html files
This commit is contained in:
commit
fbd8afb93d
|
@ -51,6 +51,8 @@
|
|||
(indent-tabs-mode . nil)
|
||||
(eval . (progn
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.html\\'" . jinja2-mode))
|
||||
|
||||
;; project root folder is where the `.dir-locals.el' is located
|
||||
(setq-local prj-root
|
||||
(locate-dominating-file default-directory ".dir-locals.el"))
|
||||
|
|
Loading…
Reference in New Issue