Skip to content
New issue

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

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

Already on GitHub? # to your account

callback support & fix border in cursor relative #4

Closed
wants to merge 3 commits into from

Conversation

jbyuki
Copy link
Contributor

@jbyuki jbyuki commented Jan 2, 2021

Hey @tjdevries,

Awesome that an effort is made to bring vim popup to Neovim.
I needed them (especially popup_menu) for another project.
This adds callbacks and also (maybe not sure?) fix borders when the popup has cursor relative positioning.

If the PR is accepted, I can burry my personal project contextmenu.nvim on it because it basically is identical.

Also, can I help out with the project (adds other options maybe?). Thanks.

The workaround used here is to not focus the popup window
and create the border And then focus the window if needed (enter
options)
A closure is saved with all informations (win_id, callback) which
is then reinvoked on <CR> press. Also closes the popup.
@teto
Copy link

teto commented Mar 14, 2021

@jbyuki I saw that you archived contextmenu (which I had planned to replace my quickui.vim context menu with) in favor of this. Looking forward to your changes either here or at https://github.com/mjlbach/neovim-ui/

@tjdevries tjdevries mentioned this pull request Aug 9, 2021
@tjdevries
Copy link
Member

My bad on this -- this just feel through the cracks.

I merged in #18 (would have merged here but there was conflict).

@tjdevries tjdevries closed this Aug 9, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants