[Emacs] Disable autoflake in kat mode

This commit is contained in:
Kat Huang 2023-09-25 17:28:16 -06:00
parent 56be1e38eb
commit 583f9bfa0f

View File

@ -145,3 +145,14 @@ This makes evil-mode play nice with org-fc
(display-line-numbers-mode +1)) (display-line-numbers-mode +1))
(add-hook 'prog-mode-hook 'imalison:enable-display-line-numbers-mode) (add-hook 'prog-mode-hook 'imalison:enable-display-line-numbers-mode)
#+end_src #+end_src
* Disable autoflake
#+begin_src emacs-lisp
(use-package apheleia
:config
(progn
(setf (alist-get 'python-mode apheleia-mode-alist)
'(isort black))
(setf (alist-get 'python-ts-mode apheleia-mode-alist)
(alist-get 'python-mode apheleia-mode-alist))))
#+end_src