Mercurial > vim
comparison src/evalfunc.c @ 23952:44be09b25619 v8.2.2518
patch 8.2.2518: 'listchars' should be window-local
Commit: https://github.com/vim/vim/commit/eed9d46293f0842aad0d50ff3a526f9a48b12421
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 15 20:38:25 2021 +0100
patch 8.2.2518: 'listchars' should be window-local
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206, closes #7850)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Feb 2021 20:45:04 +0100 |
parents | 5db7d275543c |
children | 1765b5b0f08d |
comparison
equal
deleted
inserted
replaced
23951:c58a5a123ca5 | 23952:44be09b25619 |
---|---|
9734 // get the conceal character | 9734 // get the conceal character |
9735 if ((syntax_flags & HL_CONCEAL) && curwin->w_p_cole < 3) | 9735 if ((syntax_flags & HL_CONCEAL) && curwin->w_p_cole < 3) |
9736 { | 9736 { |
9737 cchar = syn_get_sub_char(); | 9737 cchar = syn_get_sub_char(); |
9738 if (cchar == NUL && curwin->w_p_cole == 1) | 9738 if (cchar == NUL && curwin->w_p_cole == 1) |
9739 cchar = (lcs_conceal == NUL) ? ' ' : lcs_conceal; | 9739 cchar = (curwin->w_lcs_chars.conceal == NUL) ? ' ' |
9740 : curwin->w_lcs_chars.conceal; | |
9740 if (cchar != NUL) | 9741 if (cchar != NUL) |
9741 { | 9742 { |
9742 if (has_mbyte) | 9743 if (has_mbyte) |
9743 (*mb_char2bytes)(cchar, str); | 9744 (*mb_char2bytes)(cchar, str); |
9744 else | 9745 else |