-
-
Notifications
You must be signed in to change notification settings - Fork 68
Help setup with nixld and Neovim #214
Copy link
Copy link
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done