forked from aniani/vim
patch 8.0.1650: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
This commit is contained in:
@@ -100,15 +100,6 @@
|
||||
* +vertsplit Vertically split windows.
|
||||
*/
|
||||
|
||||
/*
|
||||
* +listcmds Vim commands for the buffer list and the argument
|
||||
* list. Without this there is no ":buffer" ":bnext",
|
||||
* ":bdel", ":argdelete", etc.
|
||||
*/
|
||||
#ifdef FEAT_NORMAL
|
||||
# define FEAT_LISTCMDS
|
||||
#endif
|
||||
|
||||
/*
|
||||
* +cmdhist Command line history.
|
||||
*/
|
||||
@@ -1252,10 +1243,9 @@
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The Netbeans feature requires +listcmds and +eval.
|
||||
* The Netbeans feature requires +eval.
|
||||
*/
|
||||
#if (!defined(FEAT_LISTCMDS) || !defined(FEAT_EVAL)) \
|
||||
&& defined(FEAT_NETBEANS_INTG)
|
||||
#if !defined(FEAT_EVAL) && defined(FEAT_NETBEANS_INTG)
|
||||
# undef FEAT_NETBEANS_INTG
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user