comparison src/feature.h @ 13380:69517d67421f v8.0.1564

patch 8.0.1564: too many #ifdefs commit https://github.com/vim/vim/commit/f2bd8ef2b4507d02c6043affff8f7e85e3414d5f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 4 18:08:14 2018 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Mar 2018 18:15:08 +0100
parents 244ff1b6d2ad
children 58a1104c343e
comparison
equal deleted inserted replaced
13379:0f9dd1b43244 13380:69517d67421f
438 #ifdef FEAT_NORMAL 438 #ifdef FEAT_NORMAL
439 # define FEAT_MODIFY_FNAME 439 # define FEAT_MODIFY_FNAME
440 #endif 440 #endif
441 441
442 /* 442 /*
443 * +autocmd ":autocmd" command
444 */
445 #ifdef FEAT_NORMAL
446 # define FEAT_AUTOCMD
447 #endif
448
449 /*
450 * +diff Displaying diffs in a nice way. 443 * +diff Displaying diffs in a nice way.
451 * Requires +windows and +autocmd. 444 * Requires +windows and +autocmd.
452 */ 445 */
453 #if defined(FEAT_NORMAL) && defined(FEAT_AUTOCMD) 446 #if defined(FEAT_NORMAL)
454 # define FEAT_DIFF 447 # define FEAT_DIFF
455 #endif 448 #endif
456 449
457 /* 450 /*
458 * +title 'title' and 'icon' options 451 * +title 'title' and 'icon' options