vim-patch:8.1.1011: indent from autoindent not removed #9742

Problem:    Indent from autoindent not removed from blank line. (Daniel Hahler)
Solution:   Do not reset did_ai when text follows. (closes vim/vim#4119)
2ba4238818
This commit is contained in:
Jan Edmund Lazo
2019-03-16 19:46:15 -04:00
committed by Justin M. Keyes
parent d8316f2a1b
commit 32998731bf
2 changed files with 12 additions and 4 deletions

View File

@@ -710,9 +710,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);