mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0226: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs.
This commit is contained in:
@@ -675,10 +675,8 @@ extern int (*dyn_libintl_putenv)(const char *envstring);
|
||||
|
||||
#define REPLACE_FLAG 0x40 /* Replace mode flag */
|
||||
#define REPLACE (REPLACE_FLAG + INSERT)
|
||||
#ifdef FEAT_VREPLACE
|
||||
# define VREPLACE_FLAG 0x80 /* Virtual-replace mode flag */
|
||||
# define VREPLACE (REPLACE_FLAG + VREPLACE_FLAG + INSERT)
|
||||
#endif
|
||||
#define VREPLACE_FLAG 0x80 /* Virtual-replace mode flag */
|
||||
#define VREPLACE (REPLACE_FLAG + VREPLACE_FLAG + INSERT)
|
||||
#define LREPLACE (REPLACE_FLAG + LANGMAP)
|
||||
|
||||
#define NORMAL_BUSY (0x100 + NORMAL) /* Normal mode, busy with a command */
|
||||
|
Reference in New Issue
Block a user