Mercurial > vim
comparison src/screen.c @ 6276:af998690a884 v7.4.472
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 10 Oct 2014 15:28:46 +0200 |
parents | 0a4efa3d2019 |
children | 93560d4bca68 |
comparison
equal
deleted
inserted
replaced
6275:36d22bbf4c5c | 6276:af998690a884 |
---|---|
4899 * Handle the case where we are in column 0 but not on the first | 4899 * Handle the case where we are in column 0 but not on the first |
4900 * character of the line and the user wants us to show us a | 4900 * character of the line and the user wants us to show us a |
4901 * special character (via 'listchars' option "precedes:<char>". | 4901 * special character (via 'listchars' option "precedes:<char>". |
4902 */ | 4902 */ |
4903 if (lcs_prec_todo != NUL | 4903 if (lcs_prec_todo != NUL |
4904 && wp->w_p_list | |
4904 && (wp->w_p_wrap ? wp->w_skipcol > 0 : wp->w_leftcol > 0) | 4905 && (wp->w_p_wrap ? wp->w_skipcol > 0 : wp->w_leftcol > 0) |
4905 #ifdef FEAT_DIFF | 4906 #ifdef FEAT_DIFF |
4906 && filler_todo <= 0 | 4907 && filler_todo <= 0 |
4907 #endif | 4908 #endif |
4908 && draw_state > WL_NR | 4909 && draw_state > WL_NR |