commit | ab6c8587ba846d08cd70e7b225c4952a468fc1e8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Aug 11 17:15:09 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Aug 11 17:15:09 2017 +0200 |
tree | 50816eab3c395774fb4523fca0855d00f625f3f4 | |
parent | 2d33e90f81334eee34275a259444434abf56250f [diff] [blame] |
patch 8.0.0900: :tab options doesn't open a new tab page Problem: :tab options doesn't open a new tab page. (Aviany) Solution: Support the :tab modifier. (closes #1960)
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 26b588c..8a11fbb 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c
@@ -3749,6 +3749,7 @@ 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