aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 1880cfeb78..3278de3561 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5645,14 +5645,14 @@ static sign_T *first_sign = NULL;
static int next_sign_typenr = 1;
/*
- * ":helpclose": Close the help window
+ * ":helpclose": Close one help window
*/
void ex_helpclose(exarg_T *eap)
{
FOR_ALL_WINDOWS_IN_TAB(win, curtab) {
if (win->w_buffer->b_help) {
win_close(win, FALSE);
- break;
+ return;
}
}
}