You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@xeluxee can you check if #237 solves the issue for you?
Also if you want to organize multiple popups in a specific layout, you can try nui.layout for that. It already supports the desired behavior for :quit command. If one of the popup in a layout is quitted, the whole layout is unmounted.
Also if you want to organize multiple popups in a specific layout, you can try nui.layout for that. It already supports the desired behavior for :quit command. If one of the popup in a layout is quitted, the whole layout is unmounted.
I wrote my code before nui.layout existed. Soon or later I'll rewrite it using layouts.
Consider the following working code:
When I close the popup with
:q
the callback is executed and "QuitPre autocommand" is printedBut when the autocommand is created after popup is mounted the callback doesn't work:
When I close the popup with
:q
nothing happensThe text was updated successfully, but these errors were encountered: