We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
nixfmt -c flake.nix
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?
nixpkgs-fmt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I'm using Neovim with the following setup
When try to format the nix file, nothing happened, no formatting, check with
nixfmt -c flake.nix
also reportflake.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?
The text was updated successfully, but these errors were encountered: