diff options
author | Marco Hinz <mh.codebro+github@gmail.com> | 2019-01-28 00:45:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-28 00:45:59 +0100 |
commit | 28f87c505d895df8d00a919f6324f5305f02166e (patch) | |
tree | 3a642b40f51833605b14a0184d968dae4bb2cdfe /src/nvim/buffer.c | |
parent | 7e6980a161011ab58c69ee67f35522fd86e6cb25 (diff) | |
parent | 88b0899eb40581ad5b8071823594852a7cdf2043 (diff) | |
download | rneovim-28f87c505d895df8d00a919f6324f5305f02166e.tar.gz rneovim-28f87c505d895df8d00a919f6324f5305f02166e.tar.bz2 rneovim-28f87c505d895df8d00a919f6324f5305f02166e.zip |
Merge #9539 "options: make 'listchars' and 'fillchars' local to window"
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 18706f0cbb..7b90cbe4f4 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -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. |