forked from aniani/vim
patch 9.0.0143: cursor positioned after virtual text in empty line
Problem: Cursor positioned after virtual text in empty line. Solution: Keep cursor in the first column. (closes #10786)
This commit is contained in:
@@ -1127,7 +1127,7 @@ win_lbr_chartabsize(
|
||||
size = win_chartabsize(wp, s, vcol);
|
||||
|
||||
# ifdef FEAT_PROP_POPUP
|
||||
if (cts->cts_has_prop_with_text)
|
||||
if (cts->cts_has_prop_with_text && *line != NUL)
|
||||
{
|
||||
int i;
|
||||
int col = (int)(s - line);
|
||||
|
Reference in New Issue
Block a user