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

[Feature request] Please support choose floatwindow #51

Open
fgheng opened this issue Mar 24, 2020 · 1 comment
Open

[Feature request] Please support choose floatwindow #51

fgheng opened this issue Mar 24, 2020 · 1 comment

Comments

@fgheng
Copy link

fgheng commented Mar 24, 2020

Hello, Please support choose float window, thank you very much

@s1n7ax
Copy link

s1n7ax commented Apr 13, 2022

I tried to do this in one of my own plugins. floating window open is async and user input is not. Since vim.api does not provide a callback, the obvious solutions was to use vim.schedule to add user input to event loop. However, picker API needs to be changed to take a callback to pass the window id. I don't know is there is any way to wait mechanism

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants