mirror of
https://github.com/neovim/neovim.git
synced 2026-08-01 05:09:08 +00:00
fix(lsp): catch another nil buffer state #40285
(cherry picked from commit 942778c758)
This commit is contained in:
committed by
github-actions[bot]
parent
fec4045601
commit
c81ab6027d
@@ -349,6 +349,9 @@ local function send_changes_for_group(bufnr, firstline, lastline, new_lastline,
|
||||
)
|
||||
end
|
||||
local buf_state = state.buffers[bufnr]
|
||||
if not buf_state then
|
||||
return
|
||||
end
|
||||
buf_state.needs_flush = true
|
||||
reset_timer(buf_state)
|
||||
local debounce = next_debounce(state.debounce, buf_state)
|
||||
|
||||
Reference in New Issue
Block a user