Swap nix formatter alejandra -> nixfmt

This commit is contained in:
Evie Litherland-Smith 2024-07-30 15:09:59 +01:00
parent bf0ae26303
commit f8e8ef1fae

View file

@ -935,11 +935,8 @@
:hook (prog-mode)
:custom (apheleia-remote-algorithm 'cancel)
:config
(add-to-list 'apheleia-formatters '(alejandra . ("alejandra")))
(add-to-list 'apheleia-mode-alist '(nix-mode . alejandra))
(add-to-list 'apheleia-mode-alist '(python-base-mode . (ruff ruff-isort)))
(add-to-list 'apheleia-mode-alist '(python-mode . (ruff ruff-isort)))
(add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff ruff-isort))))
(add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff ruff-isort)))
(add-to-list 'apheleia-mode-alist '(python-mode . (ruff ruff-isort))))
(use-package flymake
:bind (("C-c C-." . flymake-goto-next-error)