We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e53c2c6 commit 98556f8Copy full SHA for 98556f8
integrations/doom-emacs/README.md
@@ -5,5 +5,13 @@ In order to configure Alejandra in
5
just use the following:
6
7
```lisp
8
-(set-formatter! 'alejandra "alejandra --quiet" :modes '(nix-mode))
+(after! nix-mode
9
+ (set-formatter! 'alejandra '("alejandra" "--quiet") :modes '(nix-mode)))
10
+```
11
+
12
+If you've enabled formatting via LSP in Nix,
13
+you might also need to add the following:
14
15
+```lisp
16
+(setq-hook! 'nix-mode-hook +format-with-lsp nil)
17
```
0 commit comments