comparison src/option.h @ 15636:6f1c7e9a6393 v8.1.0826

patch 8.1.0826: too many #ifdefs commit https://github.com/vim/vim/commit/29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 26 17:28:26 2019 +0100 patch 8.1.0826: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Jan 2019 17:30:15 +0100
parents 62b3805506b3
children ad8b2c109b22
comparison
equal deleted inserted replaced
15635:c51d2a06f5f9 15636:6f1c7e9a6393
906 EXTERN char_u *p_vdir; /* 'viewdir' */ 906 EXTERN char_u *p_vdir; /* 'viewdir' */
907 EXTERN char_u *p_vop; /* 'viewoptions' */ 907 EXTERN char_u *p_vop; /* 'viewoptions' */
908 EXTERN unsigned vop_flags; /* uses SSOP_ flags */ 908 EXTERN unsigned vop_flags; /* uses SSOP_ flags */
909 #endif 909 #endif
910 EXTERN int p_vb; /* 'visualbell' */ 910 EXTERN int p_vb; /* 'visualbell' */
911 #ifdef FEAT_VIRTUALEDIT
912 EXTERN char_u *p_ve; /* 'virtualedit' */ 911 EXTERN char_u *p_ve; /* 'virtualedit' */
913 EXTERN unsigned ve_flags; 912 EXTERN unsigned ve_flags;
914 # ifdef IN_OPTION_C 913 #ifdef IN_OPTION_C
915 static char *(p_ve_values[]) = {"block", "insert", "all", "onemore", NULL}; 914 static char *(p_ve_values[]) = {"block", "insert", "all", "onemore", NULL};
916 # endif 915 #endif
917 # define VE_BLOCK 5 /* includes "all" */ 916 #define VE_BLOCK 5 /* includes "all" */
918 # define VE_INSERT 6 /* includes "all" */ 917 #define VE_INSERT 6 /* includes "all" */
919 # define VE_ALL 4 918 #define VE_ALL 4
920 # define VE_ONEMORE 8 919 #define VE_ONEMORE 8
921 #endif
922 EXTERN long p_verbose; /* 'verbose' */ 920 EXTERN long p_verbose; /* 'verbose' */
923 #ifdef IN_OPTION_C 921 #ifdef IN_OPTION_C
924 char_u *p_vfile = (char_u *)""; /* used before options are initialized */ 922 char_u *p_vfile = (char_u *)""; /* used before options are initialized */
925 #else 923 #else
926 extern char_u *p_vfile; /* 'verbosefile' */ 924 extern char_u *p_vfile; /* 'verbosefile' */