diff src/screen.c @ 18090:a6c74689fb97 v8.1.2040

patch 8.1.2040: no highlighting of current line in quickfix window Commit: https://github.com/vim/vim/commit/e00fdf35d069de4effe07125333bb9ff35b1915d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 15 19:09:42 2019 +0200 patch 8.1.2040: no highlighting of current line in quickfix window Problem: No highlighting of current line in quickfix window. Solution: Combine with line_attr.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Sep 2019 19:15:03 +0200
parents 687d08fee911
children 2a806e3c39f6
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -4763,14 +4763,18 @@ win_line(
 							  comb_attr, cul_attr);
 			    else
 #endif
+				if (line_attr)
+				char_attr = hl_combine_attr(
+							 comb_attr, line_attr);
+			    else
 				char_attr = comb_attr;
 			}
 			else
 			    char_attr = hl_combine_attr(comb_attr, char_attr);
 		    }
 # ifdef FEAT_CONCEAL
-		    /* no concealing past the end of the line, it interferes
-		     * with line highlighting */
+		    // no concealing past the end of the line, it interferes
+		    // with line highlighting
 		    if (c == NUL)
 			syntax_flags = 0;
 		    else