QuitPre

The QuitPre event:

Fires:

radio_button_unchecked

When using :quit, :wq or :qall, before deciding whether it closes the current window or quits Neovim.

Notes:

radio_button_unchecked

For :wq the buffer is written prior to firing QuitPre.

radio_button_unchecked

This event can be used to close any non-essential window if the current window is the last ordinary window.

See Also:

radio_button_uncheckedExitPre
radio_button_uncheckedWinClosed