From 9a87e449440fc77737e789c9cbf794d189be98cc Mon Sep 17 00:00:00 2001 From: magic_rb Date: Sat, 4 Nov 2023 20:05:15 +0100 Subject: [PATCH] Add `format-all` Signed-off-by: magic_rb --- emacs-lisp/format_all.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 emacs-lisp/format_all.org diff --git a/emacs-lisp/format_all.org b/emacs-lisp/format_all.org new file mode 100644 index 0000000..8af939f --- /dev/null +++ b/emacs-lisp/format_all.org @@ -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 +