1 parent a726171 commit 7f4e800Copy full SHA for 7f4e800
1 file changed
lua/plugins/fugitive.lua
@@ -32,7 +32,9 @@ return {
32
vim.keymap.set("n", "q", ":tabclose<CR>", { buffer = true, silent = true })
33
local bufname = vim.api.nvim_buf_get_name(0)
34
if vim.startswith(bufname, "fugitive://") then
35
- vim.lsp.stop_client(vim.lsp.get_clients({ bufnr = vim.api.nvim_get_current_buf() }))
+ for _, client in ipairs(vim.lsp.get_clients({ bufnr = vim.api.nvim_get_current_buf() })) do
36
+ client:stop()
37
+ end
38
end
39
end)
40
0 commit comments