mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
fix: call ui_busy_start() and ui_busy_stop() when :write
This commit is contained in:
parent
d82efeccc7
commit
585d1ad9a7
@ -1625,6 +1625,8 @@ int do_write(exarg_T *eap)
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
ui_busy_start();
|
||||
|
||||
char *ffname = eap->arg;
|
||||
if (*ffname == NUL) {
|
||||
if (eap->cmdidx == CMD_saveas) {
|
||||
@ -1771,6 +1773,7 @@ int do_write(exarg_T *eap)
|
||||
}
|
||||
|
||||
theend:
|
||||
ui_busy_stop();
|
||||
xfree(free_fname);
|
||||
return retval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user