Mercurial > vim
diff src/globals.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 | 746b95fd25ad |
children | a3e2e7948ee4 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -771,7 +771,7 @@ EXTERN int can_si_back INIT(= FALSE); EXTERN pos_T saved_cursor /* w_cursor before formatting text. */ #ifdef DO_INIT - = INIT_POS_T(0, 0, 0) + = {0, 0, 0} #endif ; @@ -1066,7 +1066,7 @@ EXTERN char_u *autocmd_match INIT(= NULL EXTERN int did_cursorhold INIT(= FALSE); /* set when CursorHold t'gerd */ EXTERN pos_T last_cursormoved /* for CursorMoved event */ # ifdef DO_INIT - = INIT_POS_T(0, 0, 0) + = {0, 0, 0} # endif ; @@ -1335,11 +1335,9 @@ EXTERN char psepcN INIT(= '/'); /* abnor EXTERN char pseps[2] INIT(= {'\\' COMMA 0}); #endif -#ifdef FEAT_VIRTUALEDIT /* Set to TRUE when an operator is being executed with virtual editing, MAYBE * when no operator is being executed, FALSE otherwise. */ EXTERN int virtual_op INIT(= MAYBE); -#endif #ifdef FEAT_SYN_HL /* Display tick, incremented for each call to update_screen() */