diff options
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index fa8318d83e..61c88b5875 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -2403,11 +2403,14 @@ win_line ( if (v != 0) line_attr = sign_get_attr((int)v, TRUE); - /* Highlight the current line in the quickfix window. */ - if (bt_quickfix(wp->w_buffer) && qf_current_entry(wp) == lnum) + // Highlight the current line in the quickfix window. + if (bt_quickfix(wp->w_buffer) && qf_current_entry(wp) == lnum) { line_attr = hl_attr(HLF_QFL); - if (line_attr != 0) - area_highlighting = TRUE; + } + + if (line_attr != 0) { + area_highlighting = true; + } line = ml_get_buf(wp->w_buffer, lnum, FALSE); ptr = line; |