summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-06-19 14:41:49 +0200
committerBram Moolenaar <Bram@vim.org>2015-06-19 14:41:49 +0200
commita594d77ffcccf2ac0e4079c41342ca55d4c9bb08 (patch)
treecd5d4aefbcf18485f1c3fb3c247b67fc1752d33b /src/option.h
parenta7b7b1cef9b61700ba5076c1d889dce791392388 (diff)
downloadvim-git-a594d77ffcccf2ac0e4079c41342ca55d4c9bb08.tar.gz
patch 7.4.742v7.4.742
Problem: Cannot specify a vertical split when loading a buffer for a quickfix command. Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong)
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index b03146676..7c7d35abf 100644
--- a/src/option.h
+++ b/src/option.h
@@ -765,12 +765,13 @@ EXTERN char_u *p_sws; /* 'swapsync' */
EXTERN char_u *p_swb; /* 'switchbuf' */
EXTERN unsigned swb_flags;
#ifdef IN_OPTION_C
-static char *(p_swb_values[]) = {"useopen", "usetab", "split", "newtab", NULL};
+static char *(p_swb_values[]) = {"useopen", "usetab", "split", "newtab", "vsplit", NULL};
#endif
#define SWB_USEOPEN 0x001
#define SWB_USETAB 0x002
#define SWB_SPLIT 0x004
#define SWB_NEWTAB 0x008
+#define SWB_VSPLIT 0x010
EXTERN int p_tbs; /* 'tagbsearch' */
EXTERN long p_tl; /* 'taglength' */
EXTERN int p_tr; /* 'tagrelative' */