mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
Merge #9539 "options: make 'listchars' and 'fillchars' local to window"
This commit is contained in:
@@ -3680,10 +3680,10 @@ int build_stl_str_hl(
|
||||
{
|
||||
// In list mode virtcol needs to be recomputed
|
||||
colnr_T virtcol = wp->w_virtcol;
|
||||
if (wp->w_p_list && lcs_tab1 == NUL) {
|
||||
wp->w_p_list = FALSE;
|
||||
if (wp->w_p_list && wp->w_p_lcs_chars.tab1 == NUL) {
|
||||
wp->w_p_list = false;
|
||||
getvcol(wp, &wp->w_cursor, NULL, &virtcol, NULL);
|
||||
wp->w_p_list = TRUE;
|
||||
wp->w_p_list = true;
|
||||
}
|
||||
++virtcol;
|
||||
// Don't display %V if it's the same as %c.
|
||||
|
Reference in New Issue
Block a user