diff options
author | William Boman <william@redwill.se> | 2022-05-05 18:50:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 18:50:12 +0200 |
commit | 94eb72cc44fee4cae7a41cb1ff5fb21f81976658 (patch) | |
tree | 7df203fbcf80f232861aefc64a51cc068017391d /src/nvim/api/vimscript.c | |
parent | b2fb3614b05f2c2f5f65e8300f4da548e6095b61 (diff) | |
download | rneovim-94eb72cc44fee4cae7a41cb1ff5fb21f81976658.tar.gz rneovim-94eb72cc44fee4cae7a41cb1ff5fb21f81976658.tar.bz2 rneovim-94eb72cc44fee4cae7a41cb1ff5fb21f81976658.zip |
fix(lsp): make sure to always reset active codelens refreshes (#18331)
This fixes issues where subsequent calls to vim.lsp.codelens.refresh()
would have no effect due to the buffer not getting cleared from the
active_refresh table.
Examples of how such scenarios would occur are:
- A textDocument/codeLens result yielded an error.
- The 'textDocument/codeLens' handler was overriden in such a way that
it no longer called vim.lsp.codelens.on_codelens().
Diffstat (limited to 'src/nvim/api/vimscript.c')
0 files changed, 0 insertions, 0 deletions