Configure apheleia for nix
This commit is contained in:
parent
95699e8401
commit
bfb34f860c
1 changed files with 6 additions and 1 deletions
|
|
@ -17,7 +17,12 @@
|
|||
(setq aw-keys '(?a ?b ?c ?d ?e ?f ?g ?h ?i ?j)
|
||||
aw-dispatch-always nil))
|
||||
|
||||
(use-package apheleia)
|
||||
(use-package apheleia
|
||||
:config
|
||||
(add-to-list 'apheleia-formatters
|
||||
'(nixpkgs-fmt . ("nixpkgs-fmt")))
|
||||
(add-to-list 'apheleia-mode-alist
|
||||
'(nix-mode . nixpkgs-fmt)))
|
||||
|
||||
(use-package autorevert
|
||||
:config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue