-
Notifications
You must be signed in to change notification settings - Fork 5
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
FloatingWindow feature requests #1
Comments
I'm now thinking of FloatingWindow...
The |
I would also vote for making floating window more primitive as possible. I have shared some of my thoughts here. vim-jp/vital.vim#747 and vim-jp/vital.vim#748. The way I think of if the primitive popup is only to normalize the apis between vim and neovim. I would then want a PopupManager which is completely different from the primitive popup and is primarily responsible for setting the right height and position. Similar to how callbag is solving async and callbacks issues, I was separately working on the popup to support it. I'm ok not removing max/min width because sometimes that can be used to easily create a popups though vim-lsp might not use it as the PopupManager would be in control of the position as well as width/height. |
|
The scroll methods can be used without |
Seems like I did implement this in my version of popup.vim. |
It's reasonable. I will add it. I'm dogfooding with FloatingWindow now. |
I've implemented as |
Thanks for the impl. Would also need |
But neovim's floating window has no zIndex option... IMO, we shouldn't show floating-window as overlapping the completion-menu. |
that makes sense. i would prefer not to support z-index for now. |
I'm considering border & padding. |
@prabirshrestha I've implemented simple border supports. We can pass |
Looking into adding floating window support in vim-lsp. prabirshrestha/vim-lsp#1033
And seems like few features are missing.
on_create
,on_close
. this allows to easily add custom events or autocmd for usThe text was updated successfully, but these errors were encountered: