diff options
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c index 0e715c2d1b..c3aa888780 100644 --- a/src/edit.c +++ b/src/edit.c @@ -288,8 +288,13 @@ edit( conceal_check_cursor_line(cursor_line_was_concealed); #endif - // need to position cursor again when on a TAB - if (gchar_cursor() == TAB) + // Need to position cursor again when on a TAB and when on a char with + // virtual text. + if (gchar_cursor() == TAB +#ifdef FEAT_PROP_POPUP + || curbuf->b_has_textprop +#endif + ) curwin->w_valid &= ~(VALID_WROW|VALID_WCOL|VALID_VIRTCOL); /* |