Mercurial > vim
comparison src/feature.h @ 13553:04019fc3de93 v8.0.1650
patch 8.0.1650: too many #ifdefs
commit https://github.com/vim/vim/commit/0c72fe4ed8430db41f43c5878e6ee60265dc49e9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 29 16:04:08 2018 +0200
patch 8.0.1650: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 29 Mar 2018 16:15:07 +0200 |
parents | 6dbf1e9ebd1f |
children | 2ad722003b36 |
comparison
equal
deleted
inserted
replaced
13552:5417164ac275 | 13553:04019fc3de93 |
---|---|
97 * These features used to be optional but are now always enabled. | 97 * These features used to be optional but are now always enabled. |
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 * +vertsplit Vertically split windows. |
101 */ | 101 */ |
102 | |
103 /* | |
104 * +listcmds Vim commands for the buffer list and the argument | |
105 * list. Without this there is no ":buffer" ":bnext", | |
106 * ":bdel", ":argdelete", etc. | |
107 */ | |
108 #ifdef FEAT_NORMAL | |
109 # define FEAT_LISTCMDS | |
110 #endif | |
111 | 102 |
112 /* | 103 /* |
113 * +cmdhist Command line history. | 104 * +cmdhist Command line history. |
114 */ | 105 */ |
115 #ifdef FEAT_SMALL | 106 #ifdef FEAT_SMALL |
1250 #if !defined(FEAT_GUI_MOTIF) && defined(FEAT_SUN_WORKSHOP) | 1241 #if !defined(FEAT_GUI_MOTIF) && defined(FEAT_SUN_WORKSHOP) |
1251 # undef FEAT_SUN_WORKSHOP | 1242 # undef FEAT_SUN_WORKSHOP |
1252 #endif | 1243 #endif |
1253 | 1244 |
1254 /* | 1245 /* |
1255 * The Netbeans feature requires +listcmds and +eval. | 1246 * The Netbeans feature requires +eval. |
1256 */ | 1247 */ |
1257 #if (!defined(FEAT_LISTCMDS) || !defined(FEAT_EVAL)) \ | 1248 #if !defined(FEAT_EVAL) && defined(FEAT_NETBEANS_INTG) |
1258 && defined(FEAT_NETBEANS_INTG) | |
1259 # undef FEAT_NETBEANS_INTG | 1249 # undef FEAT_NETBEANS_INTG |
1260 #endif | 1250 #endif |
1261 | 1251 |
1262 /* | 1252 /* |
1263 * The +channel feature requires +eval. | 1253 * The +channel feature requires +eval. |