mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -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:
@@ -10375,12 +10375,9 @@ showmode(void)
|
||||
else
|
||||
#endif
|
||||
{
|
||||
#ifdef FEAT_VREPLACE
|
||||
if (State & VREPLACE_FLAG)
|
||||
MSG_PUTS_ATTR(_(" VREPLACE"), attr);
|
||||
else
|
||||
#endif
|
||||
if (State & REPLACE_FLAG)
|
||||
else if (State & REPLACE_FLAG)
|
||||
MSG_PUTS_ATTR(_(" REPLACE"), attr);
|
||||
else if (State & INSERT)
|
||||
{
|
||||
|
Reference in New Issue
Block a user