1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01: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:
Markus Heiser 2021-11-23 14:05:01 +01:00 committed by GitHub
commit fbd8afb93d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))