docs(format): clarify how to update macro in private config

This commit is contained in:
Ellis Kenyo 2023-09-14 16:44:43 +01:00 committed by Henrik Lissner
parent b58dc721aa
commit 0b2e6d7070
2 changed files with 14 additions and 1 deletions

View file

@ -4,7 +4,7 @@
(cl-defun set-formatter! (name args &key modes)
"Define (or modify) a formatter named NAME.
Supported keywords: :modes :filter
Supported keywords: :modes
NAME is a symbol that identifies this formatter.
@ -20,6 +20,10 @@ nested list.
string and ARG is both a predicate and argument for STRING. If ARG is nil,
STRING will be omitted from the vector.
If you're trying to override this, ensure that you wrap the call in `after!' and
whichever package sets the initial formatter. See the ':editor format' README
for more.
For more information on how to structure the list to be
compatible, see `apheleia--run-formatter-function'.