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() --- lua/lvim/lsp/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lvim/lsp/init.lua') diff --git a/lua/lvim/lsp/init.lua b/lua/lvim/lsp/init.lua index a02ca426..d6566ae6 100644 --- a/lua/lvim/lsp/init.lua +++ b/lua/lvim/lsp/init.lua @@ -149,7 +149,7 @@ function M.setup() append_default_schemas = true, } - require("nvim-lsp-installer").settings { + require("nvim-lsp-installer").setup { -- use the default nvim_data_dir, since the server binaries are independent install_root_dir = utils.join_paths(vim.call("stdpath", "data"), "lsp_servers"), } -- cgit v1.2.3