Mercurial > vim
comparison src/feature.h @ 8643:24b43dd167eb v7.4.1611
commit https://github.com/vim/vim/commit/44a2f923c00f1384c9ecde12fb5b4711bc20702e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 19 22:11:51 2016 +0100
patch 7.4.1611
Problem: The versplit feature makes the code uneccessary complicated.
Solution: Remove FEAT_VERTSPLIT, always support vertical splits when
FEAT_WINDOWS is defined.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 19 Mar 2016 22:15:06 +0100 |
parents | 63dc856bd13d |
children | 90fd01ade690 |
comparison
equal
deleted
inserted
replaced
8642:c7727ca972e3 | 8643:24b43dd167eb |
---|---|
95 */ | 95 */ |
96 | 96 |
97 /* | 97 /* |
98 * +windows Multiple windows. Without this there is no help | 98 * +windows Multiple windows. Without this there is no help |
99 * window and no status lines. | 99 * window and no status lines. |
100 * +vertsplit Vertically split windows. | |
100 */ | 101 */ |
101 #ifdef FEAT_SMALL | 102 #ifdef FEAT_SMALL |
102 # define FEAT_WINDOWS | 103 # define FEAT_WINDOWS |
103 #endif | 104 #endif |
104 | 105 |
107 * list. Without this there is no ":buffer" ":bnext", | 108 * list. Without this there is no ":buffer" ":bnext", |
108 * ":bdel", ":argdelete", etc. | 109 * ":bdel", ":argdelete", etc. |
109 */ | 110 */ |
110 #ifdef FEAT_NORMAL | 111 #ifdef FEAT_NORMAL |
111 # define FEAT_LISTCMDS | 112 # define FEAT_LISTCMDS |
112 #endif | |
113 | |
114 /* | |
115 * +vertsplit Vertically split windows. | |
116 */ | |
117 #ifdef FEAT_NORMAL | |
118 # define FEAT_VERTSPLIT | |
119 #endif | |
120 #if defined(FEAT_VERTSPLIT) && !defined(FEAT_WINDOWS) | |
121 # define FEAT_WINDOWS | |
122 #endif | 113 #endif |
123 | 114 |
124 /* | 115 /* |
125 * +cmdhist Command line history. | 116 * +cmdhist Command line history. |
126 */ | 117 */ |
142 */ | 133 */ |
143 #ifdef FEAT_SMALL | 134 #ifdef FEAT_SMALL |
144 # define FEAT_JUMPLIST | 135 # define FEAT_JUMPLIST |
145 #endif | 136 #endif |
146 | 137 |
147 /* the cmdline-window requires FEAT_VERTSPLIT and FEAT_CMDHIST */ | 138 /* the cmdline-window requires FEAT_WINDOWS and FEAT_CMDHIST */ |
148 #if defined(FEAT_VERTSPLIT) && defined(FEAT_CMDHIST) | 139 #if defined(FEAT_WINDOWS) && defined(FEAT_CMDHIST) |
149 # define FEAT_CMDWIN | 140 # define FEAT_CMDWIN |
150 #endif | 141 #endif |
151 | 142 |
152 /* | 143 /* |
153 * +folding Fold lines. | 144 * +folding Fold lines. |
599 | 590 |
600 /* | 591 /* |
601 * +mksession ":mksession" command. | 592 * +mksession ":mksession" command. |
602 * Requires +windows and +vertsplit. | 593 * Requires +windows and +vertsplit. |
603 */ | 594 */ |
604 #if defined(FEAT_NORMAL) && defined(FEAT_WINDOWS) && defined(FEAT_VERTSPLIT) | 595 #if defined(FEAT_NORMAL) && defined(FEAT_WINDOWS) |
605 # define FEAT_SESSION | 596 # define FEAT_SESSION |
606 #endif | 597 #endif |
607 | 598 |
608 /* | 599 /* |
609 * +multi_lang Multi language support. ":menutrans", ":language", etc. | 600 * +multi_lang Multi language support. ":menutrans", ":language", etc. |