jinja2-enable-indent-on-save = nil #3555

This commit is contained in:
Henrik Lissner 2020-07-24 01:59:00 -04:00
parent 42fbf201a9
commit 47a350f65f
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -24,8 +24,7 @@
;; The default behavior is to reindent the whole buffer on save. This is
;; disruptive and imposing. There are indentation commands available; the user
;; can decide when they want their code reindented.
(add-hook! 'jinja2-mode-hook
(remove-hook 'after-save-hook 'jinja2-indent-buffer t)))
(setq jinja2-enable-indent-on-save nil))
(def-project-mode! +ansible-yaml-mode