Add alejandra as nix formatter
This commit is contained in:
parent
ccfb0c5979
commit
be1d1ff58c
|
@ -820,6 +820,8 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
:hook (prog-mode)
|
:hook (prog-mode)
|
||||||
:custom (apheleia-remote-algorithm 'local)
|
:custom (apheleia-remote-algorithm 'local)
|
||||||
:config
|
:config
|
||||||
|
(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-ts-mode . ruff))
|
||||||
(add-to-list 'apheleia-mode-alist '(python-mode . ruff)))
|
(add-to-list 'apheleia-mode-alist '(python-mode . ruff)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue