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