mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
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)
|
(indent-tabs-mode . nil)
|
||||||
(eval . (progn
|
(eval . (progn
|
||||||
|
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.html\\'" . jinja2-mode))
|
||||||
|
|
||||||
;; project root folder is where the `.dir-locals.el' is located
|
;; project root folder is where the `.dir-locals.el' is located
|
||||||
(setq-local prj-root
|
(setq-local prj-root
|
||||||
(locate-dominating-file default-directory ".dir-locals.el"))
|
(locate-dominating-file default-directory ".dir-locals.el"))
|
||||||
|
Loading…
Reference in New Issue
Block a user