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

Interactive popups close when entering nested popups #235

Open
gebner opened this issue Feb 14, 2022 · 2 comments
Open

Interactive popups close when entering nested popups #235

gebner opened this issue Feb 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@gebner
Copy link
Collaborator

gebner commented Feb 14, 2022

  1. Call :LeanTermGoal twice, this opens a floating window and moves the cursor into it.
  2. Open a nested popup and move the cursor into the nested popup. (requires Lean 4)
  3. The floating window disappears and the nested popup moves to the top-left corner.

This is probably due to this change in neovim 0.6: neovim/neovim#16557 I'm not sure what the best solution is, but we might need to roll our own floating windows.

@gebner gebner added the bug Something isn't working label Feb 14, 2022
@Julian
Copy link
Owner

Julian commented Feb 14, 2022

I didn't read carefully through that, but:

however currently there is no option to disable the behavior of closing the floating window on leaving the buffer, but I can add it if you need it.

I think we want to ask for that then?

@gebner
Copy link
Collaborator Author

gebner commented Feb 14, 2022

Thanks for asking! I wasn't sure if "leaving the buffer" means "leaving the parent buffer" or "leaving the buffer for the floating window".

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

2 participants