mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -477,9 +477,7 @@ EXTERN char_u *p_efm; /* 'errorformat' */
|
||||
EXTERN char_u *p_gefm; /* 'grepformat' */
|
||||
EXTERN char_u *p_gp; /* 'grepprg' */
|
||||
#endif
|
||||
#ifdef FEAT_AUTOCMD
|
||||
EXTERN char_u *p_ei; /* 'eventignore' */
|
||||
#endif
|
||||
EXTERN int p_ek; /* 'esckeys' */
|
||||
EXTERN int p_exrc; /* 'exrc' */
|
||||
#ifdef FEAT_MBYTE
|
||||
@@ -1046,9 +1044,7 @@ enum
|
||||
, BV_FF
|
||||
, BV_FLP
|
||||
, BV_FO
|
||||
#ifdef FEAT_AUTOCMD
|
||||
, BV_FT
|
||||
#endif
|
||||
, BV_IMI
|
||||
, BV_IMS
|
||||
#if defined(FEAT_CINDENT) && defined(FEAT_EVAL)
|
||||
|
Reference in New Issue
Block a user