Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(modules/programs/nixvim/plugins/lsp-format): 'rust-tools' problem
> The 'plugins.rust-tools' module prevents the 'plugins.lsp-format' > module from working because the 'require("rust-tools").setup({})' > setup is invoked after the iterative > 'require("lspconfig")[server.name].setup(options)' LSP setups. > > This change declares the 'require("rust-tools").setup({})' statement > before the iterative > 'require("lspconfig")[server.name].setup(options)' LSP setups. > Additionally, enabling the 'plugins.rust-tools' module implicitly > enables the 'plugins.lsp.servers.rust-analyzer' to ensure a proper LSP > setup. > > (Source: nix-community/nixvim#728) Requires: nix-community/nixvim#728
- Loading branch information