simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.17k stars 159 forks source link

Error with multiple open code actions #362

Open PPakalns opened 1 year ago

PPakalns commented 1 year ago

Similar issue to mentioned in this thread: #227 , but looks like it is not fixed.

If language server takes up some time to execute CodeAction, then multiple Code action windows will be opened. If we close the last opened window then other windows are left open. If i click into window that was left open, I get the following error: image

How to reproduce:

  1. Execute code action.
  2. Click outside the code action.
  3. Execute another code action. (Now there will be two code actions open)
  4. Close code action.
  5. Click inside code action still open.
  6. Get the error.