mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(format): set-formatter! not accepting single major mode
This commit is contained in:
parent
5f0ebdf2e0
commit
5efa6e90d1
1 changed files with 1 additions and 1 deletions
|
|
@ -87,5 +87,5 @@ Advanced examples:
|
|||
(t args))))
|
||||
(setf (alist-get name apheleia-formatters) formatter))
|
||||
(when modes
|
||||
(dolist (mode modes)
|
||||
(dolist (mode (ensure-list modes))
|
||||
(setf (alist-get mode apheleia-mode-alist) name))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue