aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pilling <robpilling@gmail.com>2019-11-05 18:56:54 +0000
committerRob Pilling <robpilling@gmail.com>2019-11-05 18:56:54 +0000
commit4f124702c079fba4502b077c8c832538c0f0b386 (patch)
treeb2477207e8f934eccbc8ddb2b69233af63824244
parent0cee3001947340c0d74d32a17a2c93147e13cb7f (diff)
downloadrneovim-4f124702c079fba4502b077c8c832538c0f0b386.tar.gz
rneovim-4f124702c079fba4502b077c8c832538c0f0b386.tar.bz2
rneovim-4f124702c079fba4502b077c8c832538c0f0b386.zip
Simplify + inline/align comment
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 8cdf971b9e..712ce711d0 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5535,9 +5535,7 @@ static buf_T *show_sub(exarg_T *eap, pos_T old_cusr,
// We keep a special-purpose buffer around, but don't assume it exists.
buf_T *preview_buf = bufnr ? buflist_findnr(bufnr) : 0;
- // disable :leftabove/botright modifiers
- // (especially ones that conflict with our win_split() call below)
- cmdmod.split = 0;
+ cmdmod.split = 0; // disable :leftabove/botright modifiers
cmdmod.tab = 0; // disable :tab modifier
cmdmod.noswapfile = true; // disable swap for preview buffer
// disable file info message