1
0
forked from aniani/vim

patch 8.1.1011: indent from autoindent not removed from blank line

Problem:    Indent from autoindent not removed from blank line. (Daniel Hahler)
Solution:   Do not reset did_ai when text follows. (closes #4119)
This commit is contained in:
Bram Moolenaar
2019-03-16 18:11:07 +01:00
parent 713bf9e996
commit 2ba4238818
3 changed files with 14 additions and 3 deletions

View File

@@ -1497,8 +1497,6 @@ open_line(
++less_cols_off;
}
}
if (*p_extra != NUL)
did_ai = FALSE; /* append some text, don't truncate now */
/* columns for marks adjusted for removed columns */
less_cols = (int)(p_extra - saved_line);