summaryrefslogtreecommitdiff
path: root/tests/minimal_lsp.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-04-28 14:38:32 +0200
committerGitHub <[email protected]>2022-04-28 14:38:32 +0200
commitdd65e285656a5c46c52144f4e082c8e2d1d95757 (patch)
tree1e8d78e16183f44df92a2fa967d9778aea4f0484 /tests/minimal_lsp.lua
parent3de829e76ed3d90b25250b1ab76f6425146af9d2 (diff)
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()
Diffstat (limited to 'tests/minimal_lsp.lua')
-rw-r--r--tests/minimal_lsp.lua2
1 files changed, 1 insertions, 1 deletions
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