diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-18 21:40:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-18 21:40:56 +0000 |
commit | 97b2ad35425fd589c4ff816d1f1161f2f7f6a93d (patch) | |
tree | a0fed79e1bd28b00c32554c62110903d49ac9b20 /src/option.c | |
parent | 658b74a7360cff23939dbf5075b8e18e38c77a81 (diff) | |
download | vim-97b2ad35425fd589c4ff816d1f1161f2f7f6a93d.zip |
updated for version 7.0228
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index 0686b853c..8b3d8c660 100644 --- a/src/option.c +++ b/src/option.c @@ -231,6 +231,9 @@ #ifdef FEAT_WINDOWS # define PV_WFH OPT_WIN(WV_WFH) #endif +#ifdef FEAT_VERTSPLIT +# define PV_WFW OPT_WIN(WV_WFW) +#endif #define PV_WRAP OPT_WIN(WV_WRAP) @@ -2640,6 +2643,13 @@ static struct vimoption (char_u *)NULL, PV_NONE, #endif {(char_u *)FALSE, (char_u *)0L}}, + {"winfixwidth", "wfw", P_BOOL|P_VI_DEF|P_RSTAT, +#ifdef FEAT_VERTSPLIT + (char_u *)VAR_WIN, PV_WFW, +#else + (char_u *)NULL, PV_NONE, +#endif + {(char_u *)FALSE, (char_u *)0L}}, {"winminheight", "wmh", P_NUM|P_VI_DEF, #ifdef FEAT_WINDOWS (char_u *)&p_wmh, PV_NONE, @@ -8869,6 +8879,9 @@ get_varp(p) #ifdef FEAT_WINDOWS case PV_WFH: return (char_u *)&(curwin->w_p_wfh); #endif +#ifdef FEAT_VERTSPLIT + case PV_WFW: return (char_u *)&(curwin->w_p_wfw); +#endif #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX) case PV_PVW: return (char_u *)&(curwin->w_p_pvw); #endif |