VimLeavePre

The VimLeavePre event:

Fires:

radio_button_unchecked

Before exiting Neovim, just before writing the .shada file.

Notes:

radio_button_unchecked

This event fires only once, if there is a match with the name of what happens to be the current buffer when exiting.

radio_button_unchecked

Mostly useful with a "*" pattern.