mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
Fix #2605: update editor/format module
This commit is contained in:
@ -55,4 +55,4 @@ This is controlled by `+format-on-save-enabled-modes'."
|
||||
;; 1. Enables partial reformatting (while preserving leading indentation),
|
||||
;; 2. Applies changes via RCS patch, line by line, to protect buffer markers
|
||||
;; and avoid any jarring cursor+window scrolling.
|
||||
(advice-add #'format-all-buffer :override #'+format/buffer)
|
||||
(advice-add #'format-all-buffer--with :around #'+format-buffer-a)
|
||||
|
Reference in New Issue
Block a user