comparison src/ex_cmds2.c @ 12039:84066f043ab9 v8.0.0900

patch 8.0.0900: :tab options doesn't open a new tab page commit https://github.com/vim/vim/commit/ab6c8587ba846d08cd70e7b225c4952a468fc1e8 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 11 17:15:09 2017 +0200 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 https://github.com/vim/vim/issues/1960)
author Christian Brabandt <cb@256bit.org>
date Fri, 11 Aug 2017 17:30:04 +0200
parents bc0fee081e1e
children 59c1e09cf1a9
comparison
equal deleted inserted replaced
12038:5399641f85c3 12039:84066f043ab9
3747 */ 3747 */
3748 void 3748 void
3749 ex_options( 3749 ex_options(
3750 exarg_T *eap UNUSED) 3750 exarg_T *eap UNUSED)
3751 { 3751 {
3752 vim_setenv((char_u *)"OPTWIN_CMD", (char_u *)(cmdmod.tab ? "tab" : ""));
3752 cmd_source((char_u *)SYS_OPTWIN_FILE, NULL); 3753 cmd_source((char_u *)SYS_OPTWIN_FILE, NULL);
3753 } 3754 }
3754 #endif 3755 #endif
3755 3756
3756 #if defined(FEAT_PYTHON3) || defined(FEAT_PYTHON) || defined(PROTO) 3757 #if defined(FEAT_PYTHON3) || defined(FEAT_PYTHON) || defined(PROTO)