diff options
author | kylo252 <[email protected]> | 2022-04-28 14:38:32 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-28 14:38:32 +0200 |
commit | dd65e285656a5c46c52144f4e082c8e2d1d95757 (patch) | |
tree | 1e8d78e16183f44df92a2fa967d9778aea4f0484 /lua/lvim/lsp/init.lua | |
parent | 3de829e76ed3d90b25250b1ab76f6425146af9d2 (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 'lua/lvim/lsp/init.lua')
-rw-r--r-- | lua/lvim/lsp/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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"), } |