updated for version 7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
diff --git a/src/charset.c b/src/charset.c
index fd4b500..61a56f6 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1380,10 +1380,7 @@
&& (State & NORMAL)
&& !wp->w_p_list
&& !virtual_active()
-#ifdef FEAT_VISUAL
- && !(VIsual_active
- && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
-#endif
+ && !(VIsual_active && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
)
*cursor = vcol + incr - 1; /* cursor at end */
else
@@ -1463,7 +1460,6 @@
}
#endif
-#if defined(FEAT_VISUAL) || defined(PROTO)
/*
* Get the leftmost and rightmost virtual column of pos1 and pos2.
* Used for Visual block mode.
@@ -1500,7 +1496,6 @@
else
*right = to1;
}
-#endif
/*
* skipwhite: skip over ' ' and '\t'.