mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fix(lsp): check if buffer is valid in changetracking (#15505)
This commit is contained in:
@@ -381,7 +381,7 @@ do
|
||||
end
|
||||
state.pending_change = function()
|
||||
state.pending_change = nil
|
||||
if client.is_stopped() then
|
||||
if client.is_stopped() or not vim.api.nvim_buf_is_valid(bufnr) then
|
||||
return
|
||||
end
|
||||
local contentChanges
|
||||
|
Reference in New Issue
Block a user