mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
vim-patch:8.1.1299: "extends" from 'listchars' is used when 'list' is off
Problem: "extends" from 'listchars' is used when 'list' is off. (Hiroyuki
Yoshinaga)
Solution: Only use the "extends" character when 'list' is on. (Hirohito
Higashi, closes vim/vim#4360)
a5c6a0b6c7
This commit is contained in:
@@ -3995,8 +3995,10 @@ win_line (
|
||||
break;
|
||||
}
|
||||
|
||||
// line continues beyond line end
|
||||
if (wp->w_p_lcs_chars.ext
|
||||
// Show "extends" character from 'listchars' if beyond the line end and
|
||||
// 'list' is set.
|
||||
if (wp->w_p_lcs_chars.ext != NUL
|
||||
&& wp->w_p_list
|
||||
&& !wp->w_p_wrap
|
||||
&& filler_todo <= 0
|
||||
&& (wp->w_p_rl ? col == 0 : col == grid->Columns - 1)
|
||||
|
Reference in New Issue
Block a user