From dd65e285656a5c46c52144f4e082c8e2d1d95757 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Thu, 28 Apr 2022 14:38:32 +0200 Subject: refactor(lsp): decouple the installer setup-hook (#2536) * chore(lsp): update plugins * refactor(lsp): decouple the installer setup-hook - remove the deprecated `server:setup()` - set up the server manually with lspconfig once `server:on_ready()` has been triggered * chore: use the new lsp_installer.setup() --- tests/minimal_lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/minimal_lsp.lua b/tests/minimal_lsp.lua index 660f824b..a610fd7f 100644 --- a/tests/minimal_lsp.lua +++ b/tests/minimal_lsp.lua @@ -87,7 +87,7 @@ _G.load_config = function() server:install() end local default_opts = server:get_default_options() - setup_opts.cmd_env = default_opts.cmd_env + setup_opts = vim.tbl_deep_extend("force", setup_opts, default_opts) end if not name then -- cgit v1.2.3