From be1d1ff58cdba9a10e61fc7be280fd6b9040d312 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 30 Jan 2024 16:23:31 +0000 Subject: [PATCH] Add alejandra as nix formatter --- README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index e203544..5d6fdba 100644 --- a/README.org +++ b/README.org @@ -820,7 +820,9 @@ Set treesit to fontify all elements, default was 3 (out of 4) :hook (prog-mode) :custom (apheleia-remote-algorithm 'local) :config - (add-to-list 'apheleia-mode-alist '(python-ts-mode . ruff)) + (add-to-list 'apheleia-formatters '(alejandra . ("alejandra"))) + (add-to-list 'apheleia-mode-alist '(nix-mode . alejandra)) + (add-to-list 'apheleia-mode-alist '(python-ts-mode . ruff)) (add-to-list 'apheleia-mode-alist '(python-mode . ruff))) #+end_src ** Flymake