summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index 38a9f81b4..dc223c2ae 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -8487,9 +8487,11 @@ n_opencmd(cap)
/* When '#' is in 'cpoptions' ignore the count. */
if (vim_strchr(p_cpo, CPO_HASH) != NULL)
cap->count1 = 1;
+#ifdef FEAT_SYN_HL
if (curwin->w_p_cul)
/* force redraw of cursorline */
curwin->w_valid &= ~VALID_CROW;
+#endif
invoke_edit(cap, FALSE, cap->cmdchar, TRUE);
}
}