Skip to content

Commit

Permalink
Fix format-all formatters not activating on save
Browse files Browse the repository at this point in the history
hlissner committed May 28, 2021
1 parent 05d85f5 commit 33dbae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/editor/format/config.el
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ This is controlled by `+format-on-save-enabled-modes'."
((not (require 'format-all nil t))))
(not (+format-enable-for-lsp-on-save-maybe-h))
(let (current-prefix-arg) ; never prompt
(not (car (format-all--probe))))
(car (format-all--probe)))
(+format-enable-on-save-h)))

(when (featurep! +onsave)

0 comments on commit 33dbae7

Please sign in to comment.