mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.0642: breakindent test fails
Problem: Breakindent test fails.
Solution: Correct logic for resetting need_showbreak.
693729ae58
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
be11f80d01
commit
7cc3062e9c
@ -804,7 +804,7 @@ static void handle_showbreak_and_filler(win_T *wp, winlinevars_T *wlv)
|
||||
wlv->c_final = NUL;
|
||||
wlv->n_extra = (int)strlen(sbr);
|
||||
wlv->char_attr = win_hl_attr(wp, HLF_AT);
|
||||
if ((wp->w_skipcol == 0 && wlv->startrow == 0) || !wp->w_p_wrap) {
|
||||
if (wp->w_skipcol == 0 || wlv->startrow != 0 || !wp->w_p_wrap) {
|
||||
wlv->need_showbreak = false;
|
||||
}
|
||||
wlv->vcol_sbr = wlv->vcol + mb_charlen(sbr);
|
||||
|
Loading…
Reference in New Issue
Block a user