mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 19:18:34 +00:00
vim-patch:8.0.1169: highlignting one char too many with 'list' and 'cul'
Problem: Highlignting one char too many with 'list' and 'cul'.
Solution: Check for 'list' being active. (Ozaki Kiichi, closes vim/vim#2177)
5ece3e359c
This commit is contained in:
@@ -3027,7 +3027,9 @@ win_line (
|
||||
cur = cur->next;
|
||||
}
|
||||
// Only highlight one character after the last column.
|
||||
if (*ptr == NUL && did_line_attr >= 1) {
|
||||
if (*ptr == NUL
|
||||
&& (did_line_attr >= 1
|
||||
|| (wp->w_p_list && lcs_eol_one == -1))) {
|
||||
search_attr = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user