patch 8.1.0826: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
diff --git a/src/globals.h b/src/globals.h
index c6fd710..0562610 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -771,7 +771,7 @@
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 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 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() */