Closed schuelermine closed 1 year ago
Do you have nix.enableLanguageServer
set to true
? If so, the extension doesn't register a document formatter, effectively ignoring nix.formatterPath
, and instead relies on the language server to provide formatting (which, in the case of rnix-lsp
, is provided by nixpkgs-fmt
).
Yes, I do have that on. Thanks for the information.
I’ve set
nix.formatterPath
tonixfmt
and a store path fornixfmt
, but it still usesnixpkgs-fmt
.