mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
vim-patch:9.0.1538: :wqall does not trigger ExitPre (#23574)
Problem: :wqall does not trigger ExitPre. (Bart Libert)
Solution: Move preparations for :qall to a common function. (closes vim/vim#12374)
411da64e77
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -1926,6 +1926,9 @@ void do_wqall(exarg_T *eap)
|
||||
int save_forceit = eap->forceit;
|
||||
|
||||
if (eap->cmdidx == CMD_xall || eap->cmdidx == CMD_wqall) {
|
||||
if (before_quit_all(eap) == FAIL) {
|
||||
return;
|
||||
}
|
||||
exiting = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user