fix(format): react to ns change
This commit is contained in:
parent
550767efe2
commit
b0e579741e
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ Advanced examples:
|
|||
"
|
||||
(declare (indent defun))
|
||||
(cl-check-type name symbol)
|
||||
(after! apheleia
|
||||
(after! apheleia-core
|
||||
(if (null args)
|
||||
(progn
|
||||
(setq apheleia-formatters
|
||||
|
|
|
@ -41,7 +41,7 @@ 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)))))
|
||||
|
||||
(after! apheleia
|
||||
(after! apheleia-core
|
||||
(when (modulep! +onsave)
|
||||
(add-to-list 'apheleia-inhibit-functions #'+format-inhibit-maybe-h)))
|
||||
|
||||
|
@ -70,7 +70,7 @@ This is controlled by `+format-on-save-disabled-modes'."
|
|||
;;
|
||||
;;; Additional formatters
|
||||
|
||||
(after! apheleia
|
||||
(after! apheleia-core
|
||||
;; TODO html-tidy
|
||||
(cl-defun apheleia--indent-lisp-buffer
|
||||
(&key buffer scratch callback &allow-other-keys)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue