Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor goes to the leftmost split when the popup window is closed #1412

Open
ghost opened this issue Mar 24, 2024 · 1 comment
Open

Cursor goes to the leftmost split when the popup window is closed #1412

ghost opened this issue Mar 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Mar 24, 2024

Describe the bug

So I use lsp and lspsga. Both work great except for when I have multiple splits, and maximize one using vim-maximizer.
Then whenever I close the popup window, which was opened for reference or go to definition etc, the cursor goes to the
leftmost split instead of the split from which the reference popup window was created.

Steps to reproduce

Setup lspsaga, lsp and vim-maximizer.
then create splits, move to the right split, maximize it using vim-maximizer's commands
then go to some definitions and close the popup. (try for a popup inside a popup as well)

Expected behavior

The cursor should stay on the split which created that popup window.

Neovim version (nvim -v)

0.9.5

lspsaga commit

d5aa1a0

Terminal name/version

st-256color

@ghost ghost added the bug Something isn't working label Mar 24, 2024
@ghost
Copy link
Author

ghost commented Mar 24, 2024

neovim/neovim#28003 (comment) Here's my config to use and test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants