mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.0.1564: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
This commit is contained in:
@@ -78,11 +78,7 @@ static char *(features[]) =
|
||||
#else
|
||||
"-arabic",
|
||||
#endif
|
||||
#ifdef FEAT_AUTOCMD
|
||||
"+autocmd",
|
||||
#else
|
||||
"-autocmd",
|
||||
#endif
|
||||
#ifdef FEAT_AUTOSERVERNAME
|
||||
"+autoservername",
|
||||
#else
|
||||
@@ -778,6 +774,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1564,
|
||||
/**/
|
||||
1563,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user