diff options
| author | Andre Toerien <andre.toerien8@gmail.com> | 2025-06-12 18:21:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-12 09:21:53 -0700 |
| commit | a9b8a8dc6c1feaf5103699755086a393615602f2 (patch) | |
| tree | 6445d72b017f4751d7fb312ae59ac1d410ccd733 /runtime/lua/vim/_extui/shared.lua | |
| parent | ac12dc49cc35241acc6d4ea36f035ab5a5d9cfe3 (diff) | |
| download | rneovim-a9b8a8dc6c1feaf5103699755086a393615602f2.tar.gz rneovim-a9b8a8dc6c1feaf5103699755086a393615602f2.tar.bz2 rneovim-a9b8a8dc6c1feaf5103699755086a393615602f2.zip | |
fix(lsp): _cancel_all_requests() tries to cancel completed requests #34105
Problem:
The cancel function returned by `vim.lsp.buf_request` tries to cancel
all the requests, including those that have already been completed,
causing "Cannot find request with id ... whilst attempting to cancel"
errors to be logged when it is called.
Solution:
Only cancel the requests that are present in `client.requests`.
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions