forked from aniani/vim
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:
@@ -3766,10 +3766,8 @@ get_shape_idx(int mouse)
|
||||
#endif
|
||||
if (!mouse && State == SHOWMATCH)
|
||||
return SHAPE_IDX_SM;
|
||||
#ifdef FEAT_VREPLACE
|
||||
if (State & VREPLACE_FLAG)
|
||||
return SHAPE_IDX_R;
|
||||
#endif
|
||||
if (State & REPLACE_FLAG)
|
||||
return SHAPE_IDX_R;
|
||||
if (State & INSERT)
|
||||
|
Reference in New Issue
Block a user