Add format-all

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2023-11-04 20:05:15 +01:00
parent 1944e3ba3a
commit 9a87e44944
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

17
emacs-lisp/format_all.org Normal file
View file

@ -0,0 +1,17 @@
:PROPERTIES:
:header-args:emacs-lisp: :comments link :results none
:ID: bb6cd4f4-5245-40a1-a140-89703067ad5c
:END:
#+title: Format All
#+filetags: emacs-load
#+begin_src emacs-lisp
(use-package apheleia
:straight t
:config
(push '(alejandra . ("alejandra"))
apheleia-formatters)
(push '(nix-mode . alejandra)
apheleia-mode-alist)
(apheleia-global-mode +1))
#+end_src