summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-05-15 19:33:18 +0000
committerBram Moolenaar <Bram@vim.org>2009-05-15 19:33:18 +0000
commit78a1531005adc6bfe435ee2b9207864688bea7e9 (patch)
treec0f3a65c5bc4a285124b518dabb080c311968ea3 /src/edit.c
parent0c094b9d7f8a031e2cb495551ecc13e34cfa5818 (diff)
downloadvim-78a1531005adc6bfe435ee2b9207864688bea7e9.zip
updated for version 7.2-174
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 841144957..ee30a3e30 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -8991,7 +8991,10 @@ ins_right()
foldOpenCursor();
#endif
undisplay_dollar();
- if (gchar_cursor() != NUL || virtual_active()
+ if (gchar_cursor() != NUL
+#ifdef FEAT_VIRTUALEDIT
+ || virtual_active()
+#endif
)
{
start_arrow(&curwin->w_cursor);