vim-patch:8.0.1041: bogus characters when indenting during visual-block append

Problem:    Bogus characters appear when indenting kicks in while doing a
            visual-block append.
Solution:   Recompute when indenting is done. (Christian Brabandt)
e2e69e4813
This commit is contained in:
Jan Edmund Lazo
2018-08-23 04:43:44 -04:00
parent fe57a8a4e4
commit d677ae5f64
8 changed files with 62 additions and 21 deletions

View File

@@ -2462,7 +2462,7 @@ win_line (
if (has_spell) {
/* For checking first word with a capital skip white space. */
if (cap_col == 0)
cap_col = (int)(skipwhite(line) - line);
cap_col = (int)getwhitecols(line);
/* To be able to spell-check over line boundaries copy the end of the
* current line into nextline[]. Above the start of the next line was