mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Don't let keymaps from different LSPs leak
This commit is contained in:
parent
63150fa4c5
commit
251f4352f8
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ function M.resolve(buffer)
|
||||||
if not Keys.resolve then
|
if not Keys.resolve then
|
||||||
return {}
|
return {}
|
||||||
end
|
end
|
||||||
local spec = M.get()
|
local spec = vim.tbl_extend("force", {}, M.get())
|
||||||
local opts = LazyVim.opts("nvim-lspconfig")
|
local opts = LazyVim.opts("nvim-lspconfig")
|
||||||
local clients = LazyVim.lsp.get_clients({ bufnr = buffer })
|
local clients = LazyVim.lsp.get_clients({ bufnr = buffer })
|
||||||
for _, client in ipairs(clients) do
|
for _, client in ipairs(clients) do
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue