From c3a42a7ac454bbb61af6b2198fc27dd1976f281e Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sat, 26 Apr 2025 13:59:38 +0100 Subject: [PATCH] plugins/lsp: remove `standalonePlugins` default We don't need to add `plugins.lsp` to `performance.combinePlugins.standalonePlugins` now that `/lsp` is included in `pathsToLink`. --- plugins/lsp/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/lsp/default.nix b/plugins/lsp/default.nix index 6ddf8797..57e72ff6 100644 --- a/plugins/lsp/default.nix +++ b/plugins/lsp/default.nix @@ -182,12 +182,6 @@ lib.nixvim.plugins.mkNeovimPlugin { ++ mkMaps "vim.lsp.buf." "Lsp buf" cfg.keymaps.lspBuf ++ cfg.keymaps.extra; - # Since https://github.com/nix-community/nixvim/pull/3204, we are now using the native vim.lsp - # API for configuring language servers with nvim-lspconfig. - # For some mysterious reason, `performance.combinePlugins` now prevent language servers from - # being properly configured (missing some keys: `cmd`, `filetypes`, `root_markers` etc.) - performance.combinePlugins.standalonePlugins = [ cfg.package ]; - plugins.lsp.luaConfig.content = let runWrappers =