aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/util.lua
diff options
context:
space:
mode:
authorRaphael <glepnir@neovim.pro>2023-08-23 13:59:44 +0800
committerGitHub <noreply@github.com>2023-08-23 13:59:44 +0800
commit1cfb96490c3889a2c57d1ef5e1acc59e9b47c455 (patch)
tree63b1b1e971be60a706d4aba66be4738169aad48f /lua/lspconfig/util.lua
parentMerge pull request #2775 from lewis6991/refactor/manager (diff)
downloadnvim-lspconfig-1cfb96490c3889a2c57d1ef5e1acc59e9b47c455.tar
nvim-lspconfig-1cfb96490c3889a2c57d1ef5e1acc59e9b47c455.tar.gz
nvim-lspconfig-1cfb96490c3889a2c57d1ef5e1acc59e9b47c455.tar.bz2
nvim-lspconfig-1cfb96490c3889a2c57d1ef5e1acc59e9b47c455.tar.lz
nvim-lspconfig-1cfb96490c3889a2c57d1ef5e1acc59e9b47c455.tar.xz
nvim-lspconfig-1cfb96490c3889a2c57d1ef5e1acc59e9b47c455.tar.zst
nvim-lspconfig-1cfb96490c3889a2c57d1ef5e1acc59e9b47c455.zip
fix: lsprestart command faild (#2779)
Diffstat (limited to 'lua/lspconfig/util.lua')
-rw-r--r--lua/lspconfig/util.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua
index 98f9a323..364bf9a8 100644
--- a/lua/lspconfig/util.lua
+++ b/lua/lspconfig/util.lua
@@ -374,8 +374,7 @@ function M.get_managed_clients()
local clients = {}
for _, config in pairs(configs) do
if config.manager then
- vim.list_extend(clients, config.manager.clients())
- vim.list_extend(clients, config.manager.clients(true))
+ vim.list_extend(clients, config.manager:clients())
end
end
return clients