forked from aniani/vim
patch 8.0.0641: cannot set a separate highlighting for the quickfix line
Problem: Cannot set a separate highlighting for the current line in the quickfix window. Solution: Add QuickFixLine. (anishsane, closes #1755)
This commit is contained in:
@@ -3371,7 +3371,7 @@ win_line(
|
||||
# if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)
|
||||
/* Highlight the current line in the quickfix window. */
|
||||
if (bt_quickfix(wp->w_buffer) && qf_current_entry(wp) == lnum)
|
||||
line_attr = HL_ATTR(HLF_L);
|
||||
line_attr = HL_ATTR(HLF_QFL);
|
||||
# endif
|
||||
if (line_attr != 0)
|
||||
area_highlighting = TRUE;
|
||||
|
Reference in New Issue
Block a user