mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(format): react to ns change
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user