Closed icholy closed 1 month ago
The lsp.util.buf_versions table is deprecated and should not be used anymore. https://github.com/neovim/neovim/pull/28943. Simply switching to using vim.b[bufnr].changedtick is also problematic: https://github.com/neovim/neovim/issues/29163
lsp.util.buf_versions
vim.b[bufnr].changedtick
This doesn't have the same behaviour because code_action auto-fills the context.diagnostics value with the current line's diagnostics.
code_action
context.diagnostics
seems like those prs revert. so closed.
The
lsp.util.buf_versions
table is deprecated and should not be used anymore. https://github.com/neovim/neovim/pull/28943. Simply switching to usingvim.b[bufnr].changedtick
is also problematic: https://github.com/neovim/neovim/issues/29163