aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-15 16:49:00 +0800
committerGitHub <noreply@github.com>2022-07-15 16:49:00 +0800
commit564d99c89a3d9a236df758d320cc38abc50215ec (patch)
tree9798e6718ce448953e32caf604641b063f58b5fc /src/nvim/ex_cmds.c
parent9777907467b29e890556db287b6a9995c0024896 (diff)
parenta649af4dbaba5ef13dcbf610fe584dbc67cf2435 (diff)
downloadrneovim-564d99c89a3d9a236df758d320cc38abc50215ec.tar.gz
rneovim-564d99c89a3d9a236df758d320cc38abc50215ec.tar.bz2
rneovim-564d99c89a3d9a236df758d320cc38abc50215ec.zip
Merge pull request #19373 from zeertzjq/vim-8.2.0426
vim-patch:8.0.1118,8.2.0426
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 4c711d3ebc..9a5cf9f50f 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4862,8 +4862,7 @@ void ex_help(exarg_T *eap)
* Re-use an existing help window or open a new one.
* Always open a new one for ":tab help".
*/
- if (!bt_help(curwin->w_buffer)
- || cmdmod.cmod_tab != 0) {
+ if (!bt_help(curwin->w_buffer) || cmdmod.cmod_tab != 0) {
if (cmdmod.cmod_tab != 0) {
wp = NULL;
} else {