mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
[emacs] .dir-locals.el: use jinja2-mode to format html files
The jinja2-mode [1] can be installed from melpa [2]:: M-x package-install / jinja2-mode [1] https://github.com/paradoxxxzero/jinja2-mode [2] https://melpa.org/#/jinja2-mode Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
0e27578e35
commit
611f145a4a
@ -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
Block a user