diff options
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 256a3ed4b5..d4cbe36bd5 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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; } } |