simrat39 / rust-tools.nvim

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

Go back to original window after code action execution #367

Open dodomorandi opened 1 year ago

dodomorandi commented 1 year ago

This is a pretty simple change that should fix the minor issue related to the cursor jumping to the first window containing the current buffer instead of the last last window.

@PPakalns could you confirm the fix for the issue? Thank you!

Closes #363

Shfty commented 1 year ago

@dodomorandi I'm seeing the same issue, and your branch fixes it for me :+1:

zdcthomas commented 1 year ago

Just tried this fix out as well and it works great for me too!