Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 393 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 393 Bytes

Doom Emacs integration

In order to configure Alejandra in Doom Emacs just use the following:

(after! nix-mode
  (set-formatter! 'alejandra '("alejandra" "--quiet") :modes '(nix-mode)))

If you've enabled formatting via LSP in Nix, you might also need to add the following:

(setq-hook! 'nix-mode-hook +format-with-lsp nil)