0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.472

Problem:    The "precedes" entry in 'listchar' will be drawn when 'showbreak
            is set and list is not.
Solution:   Only draw this character when 'list' is on. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2014-10-10 15:28:46 +02:00
parent f191d55ede
commit 7425b938cb
2 changed files with 3 additions and 0 deletions

View File

@@ -4901,6 +4901,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
* special character (via 'listchars' option "precedes:<char>".
*/
if (lcs_prec_todo != NUL
&& wp->w_p_list
&& (wp->w_p_wrap ? wp->w_skipcol > 0 : wp->w_leftcol > 0)
#ifdef FEAT_DIFF
&& filler_todo <= 0