Skip to content

Commit

Permalink
Fix doomemacs#5104 (again): void-function +format-lsp-enable-on-save-…
Browse files Browse the repository at this point in the history
…maybe-h
  • Loading branch information
hlissner committed May 27, 2021
1 parent c97df46 commit 005a71e
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
Expand Up @@ -62,7 +62,7 @@ This is controlled by `+format-on-save-enabled-modes'."
(not (memq major-mode (cdr +format-on-save-enabled-modes))))
((memq major-mode +format-on-save-enabled-modes))
((not (require 'format-all nil t))))
(not (+format-lsp-enable-on-save-maybe-h))
(not (+format-enable-for-lsp-on-save-maybe-h))
(let (current-prefix-arg) ; never prompt
(not (car (format-all--probe))))
(+format-enable-on-save-h)))
Expand Down

0 comments on commit 005a71e

Please sign in to comment.