diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-15 20:38:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-15 20:38:25 +0100 |
commit | eed9d46293f0842aad0d50ff3a526f9a48b12421 (patch) | |
tree | ef3730ca3c0a7ede44fade0ea638975f43a65d5f /src/buffer.c | |
parent | 7c5b3c03699a4ab31f47c24290852d441ea8c12a (diff) |
patch 8.2.2518: 'listchars' should be window-localv8.2.2518
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206, closes #7850)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index ca1fd36efe..4e4f87c926 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4549,7 +4549,7 @@ build_stl_str_hl( case STL_VIRTCOL_ALT: // In list mode virtcol needs to be recomputed virtcol = wp->w_virtcol; - if (wp->w_p_list && lcs_tab1 == NUL) + if (wp->w_p_list && wp->w_lcs_chars.tab1 == NUL) { wp->w_p_list = FALSE; getvcol(wp, &wp->w_cursor, NULL, &virtcol, NULL); |