mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
vim-patch:8.2.0308: 'showbreak' does not work for a very long line
Problem: 'showbreak' does not work for a very long line. (John Little)
Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes vim/vim#5523,
closes vim/vim#5684)
1aa76b8fd0
This commit is contained in:
@@ -2994,7 +2994,7 @@ win_line (
|
||||
c_final = NUL;
|
||||
n_extra =
|
||||
get_breakindent_win(wp, ml_get_buf(wp->w_buffer, lnum, false));
|
||||
if (wp->w_skipcol > 0 && wp->w_p_wrap) {
|
||||
if (wp->w_skipcol > 0 && wp->w_p_wrap && wp->w_p_brisbr) {
|
||||
need_showbreak = false;
|
||||
}
|
||||
// Correct end of highlighted area for 'breakindent',
|
||||
|
Reference in New Issue
Block a user