Fix typo in apheleia python hook

This commit is contained in:
Adam Goldsmith 2024-04-27 20:13:12 -04:00
parent 4093e5e516
commit 1ea372e645

View File

@ -1081,7 +1081,7 @@
(define-fringe-bitmap 'git-gutter-fr:deleted [224] nil nil '(center repeated))))
(use-package apheleia :demand :if (package-installed-p 'apheleia)
:hook (python-base-mode . (apheleia--determine-python-formatter))
:hook (python-base-mode . apheleia--determine-python-formatter)
:config
(setf (alist-get 'djlint apheleia-formatters) '("djlint" "--reformat" "-"))
(setf (alist-get "\\.dj\\.html$" apheleia-mode-alist) '(djlint))