mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
vim-patch:8.0.0546: swap file exists briefly when opening the command window (#8588)
Problem: Swap file exists briefly when opening the command window.
Solution: Set the noswapfile command modifier before splitting the window.
(James McCoy, closes vim/vim#1620)
3bab93998d
This commit is contained in:

committed by
Justin M. Keyes

parent
74d19f685f
commit
3cc7462a0c
@@ -6033,10 +6033,11 @@ static void ex_cquit(exarg_T *eap)
|
||||
static void ex_quit_all(exarg_T *eap)
|
||||
{
|
||||
if (cmdwin_type != 0) {
|
||||
if (eap->forceit)
|
||||
cmdwin_result = K_XF1; /* ex_window() takes care of this */
|
||||
else
|
||||
if (eap->forceit) {
|
||||
cmdwin_result = K_XF1; // open_cmdwin() takes care of this
|
||||
} else {
|
||||
cmdwin_result = K_XF2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user