mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix regression of :drop introduced in 1a91000
A single line was deleted from `ex_drop()` in 1a91000
when fixing clint
warnings causing the `:drop` command to not work correctly if the buffer
is not already open in a window.
Fixes #4981
This commit is contained in:
parent
0d5edcef4a
commit
ce31c21c7d
@ -3533,5 +3533,6 @@ void ex_drop(exarg_T *eap)
|
|||||||
} else {
|
} else {
|
||||||
eap->cmdidx = CMD_first;
|
eap->cmdidx = CMD_first;
|
||||||
}
|
}
|
||||||
|
ex_rewind(eap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user