fix(format): apheleia-inhibit-functions after load
This commit is contained in:
parent
b34533de96
commit
550767efe2
1 changed files with 3 additions and 2 deletions
|
@ -41,8 +41,9 @@ This is controlled by `+format-on-save-disabled-modes'."
|
|||
(string-empty-p (string-trim (buffer-name)))
|
||||
(not (null (memq major-mode +format-on-save-disabled-modes)))))
|
||||
|
||||
(when (modulep! +onsave)
|
||||
(add-to-list 'apheleia-inhibit-functions #'+format-inhibit-maybe-h))
|
||||
(after! apheleia
|
||||
(when (modulep! +onsave)
|
||||
(add-to-list 'apheleia-inhibit-functions #'+format-inhibit-maybe-h)))
|
||||
|
||||
;;
|
||||
;;; Hacks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue