summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-16 18:11:07 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-16 18:11:07 +0100
commit2ba4238818ca5ea52334de3037ef3729584cebf5 (patch)
tree53d53907ea3e134ab895b21ae61818e66e6f6b1c /src/misc1.c
parent713bf9e996d8c9a2cc5003ee0c95f12055756ae5 (diff)
downloadvim-git-2ba4238818ca5ea52334de3037ef3729584cebf5.tar.gz
patch 8.1.1011: indent from autoindent not removed from blank linev8.1.1011
Problem: Indent from autoindent not removed from blank line. (Daniel Hahler) Solution: Do not reset did_ai when text follows. (closes #4119)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 65d5e9ec5..5781aa5b3 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -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);