diff src/screen.c @ 2699:bb3661a2eccc v7.3.116

updated for version 7.3.116 Problem: 'cursorline' is displayed too short when there are concealed characters and 'list' is set. (Dennis Preiser) Solution: Check for 'cursorline' when 'list' is set. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 09 Feb 2011 17:09:30 +0100
parents 0606065af0a0
children 96a7b564c2f3
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -5099,7 +5099,11 @@ win_line(wp, lnum, startrow, endrow, noc
 #ifdef FEAT_DIFF
 		    || filler_todo > 0
 #endif
-		    || (wp->w_p_list && lcs_eol != NUL && p_extra != at_end_str)
+		    || (wp->w_p_list && lcs_eol != NUL && p_extra != at_end_str
+#ifdef FEAT_SYN_HL
+			   && !wp->w_p_cul
+#endif
+			)
 		    || (n_extra != 0 && (c_extra != NUL || *p_extra != NUL)))
 		)
 	{