-
-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
Description
I'm using Neovim with the following setup
local nvim_lsp = require("lspconfig")
nvim_lsp.nixd.setup({
cmd = { "nixd" },
settings = {
nixd = {
formatting = {
command = { "nixfmt" },
},
},
},
})
When try to format the nix file, nothing happened, no formatting, check with nixfmt -c flake.nix
also report flake.nix: not formatted
.
Previously I'm using nixpkgs-fmt
, the formatter is worked well.
Can you help me how to setup nixfmt with nixld and Neovim?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done