diff options
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r-- | src/nvim/optionstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c index 00e024e735..518208a037 100644 --- a/src/nvim/optionstr.c +++ b/src/nvim/optionstr.c @@ -1967,8 +1967,8 @@ const char *did_set_selection(optset_T *args FUNC_ATTR_UNUSED) return e_invarg; } if (VIsual_active) { - // In Visual mode cursor may be drawn differently. - redrawWinline(curwin, curwin->w_cursor.lnum); + // Visual selection may be drawn differently. + redraw_curbuf_later(UPD_INVERTED); } return NULL; } |