summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-11 17:15:09 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-11 17:15:09 +0200
commitab6c8587ba846d08cd70e7b225c4952a468fc1e8 (patch)
tree50816eab3c395774fb4523fca0855d00f625f3f4 /src/ex_cmds2.c
parent2d33e90f81334eee34275a259444434abf56250f (diff)
downloadvim-git-ab6c8587ba846d08cd70e7b225c4952a468fc1e8.tar.gz
patch 8.0.0900: :tab options doesn't open a new tab pagev8.0.0900
Problem: :tab options doesn't open a new tab page. (Aviany) Solution: Support the :tab modifier. (closes #1960)
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 26b588c65..8a11fbbe9 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3749,6 +3749,7 @@ ex_packadd(exarg_T *eap)
ex_options(
exarg_T *eap UNUSED)
{
+ vim_setenv((char_u *)"OPTWIN_CMD", (char_u *)(cmdmod.tab ? "tab" : ""));
cmd_source((char_u *)SYS_OPTWIN_FILE, NULL);
}
#endif