jinja2-enable-indent-on-save = nil #3555
This commit is contained in:
parent
42fbf201a9
commit
47a350f65f
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@
|
||||||
;; The default behavior is to reindent the whole buffer on save. This is
|
;; The default behavior is to reindent the whole buffer on save. This is
|
||||||
;; disruptive and imposing. There are indentation commands available; the user
|
;; disruptive and imposing. There are indentation commands available; the user
|
||||||
;; can decide when they want their code reindented.
|
;; can decide when they want their code reindented.
|
||||||
(add-hook! 'jinja2-mode-hook
|
(setq jinja2-enable-indent-on-save nil))
|
||||||
(remove-hook 'after-save-hook 'jinja2-indent-buffer t)))
|
|
||||||
|
|
||||||
|
|
||||||
(def-project-mode! +ansible-yaml-mode
|
(def-project-mode! +ansible-yaml-mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue