mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
vim-patch:7.4.472: Only draw "precedes" entry in 'listchar' when 'list' is on
vim-patch: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) https://code.google.com/p/vim/source/detail?r=af998690a8841d4df95cea0bed4246f2ba98e247
This commit is contained in:
@@ -3730,6 +3730,7 @@ win_line (
|
|||||||
* special character (via 'listchars' option "precedes:<char>".
|
* special character (via 'listchars' option "precedes:<char>".
|
||||||
*/
|
*/
|
||||||
if (lcs_prec_todo != NUL
|
if (lcs_prec_todo != NUL
|
||||||
|
&& wp->w_p_list
|
||||||
&& (wp->w_p_wrap ? wp->w_skipcol > 0 : wp->w_leftcol > 0)
|
&& (wp->w_p_wrap ? wp->w_skipcol > 0 : wp->w_leftcol > 0)
|
||||||
&& filler_todo <= 0
|
&& filler_todo <= 0
|
||||||
&& draw_state > WL_NR
|
&& draw_state > WL_NR
|
||||||
|
@@ -194,7 +194,7 @@ static int included_patches[] = {
|
|||||||
//475,
|
//475,
|
||||||
//474,
|
//474,
|
||||||
//473,
|
//473,
|
||||||
//472,
|
472,
|
||||||
//471,
|
//471,
|
||||||
//470,
|
//470,
|
||||||
//469,
|
//469,
|
||||||
|
Reference in New Issue
Block a user