aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorRom Grk <romgrk.cc@gmail.com>2021-04-17 17:33:59 -0400
committerLewis Russell <lewis6991@gmail.com>2022-02-10 15:26:40 +0000
commit85ae04dbfd405343b10c400d40e95334a44cc978 (patch)
treefb88cdc7e9f6e51537440da389bcef4e6c0a3893 /src/nvim/ex_cmds.c
parenta73360a09a54c186f2df6e167a8be1f1a1d8c62a (diff)
downloadrneovim-85ae04dbfd405343b10c400d40e95334a44cc978.tar.gz
rneovim-85ae04dbfd405343b10c400d40e95334a44cc978.tar.bz2
rneovim-85ae04dbfd405343b10c400d40e95334a44cc978.zip
fix: close floating windows when calling win_close()
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 81fce3565a..fd1e34803f 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5856,7 +5856,7 @@ void ex_helpclose(exarg_T *eap)
{
FOR_ALL_WINDOWS_IN_TAB(win, curtab) {
if (bt_help(win->w_buffer)) {
- win_close(win, false);
+ win_close(win, false, eap->forceit);
return;
}
}