Mercurial > vim
comparison src/screen.c @ 11516:80491a71c716 v8.0.0641
patch 8.0.0641: cannot set a separate highlighting for the quickfix line
commit https://github.com/vim/vim/commit/2102035488e80ef6fd5038ed15d21672712ba0f6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 13 17:21:04 2017 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 13 Jun 2017 17:30:03 +0200 |
parents | d1b6cf96882a |
children | 578df034735d |
comparison
equal
deleted
inserted
replaced
11515:c3c8aadeae2b | 11516:80491a71c716 |
---|---|
3369 line_attr = sign_get_attr((int)v, TRUE); | 3369 line_attr = sign_get_attr((int)v, TRUE); |
3370 # endif | 3370 # endif |
3371 # if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS) | 3371 # if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS) |
3372 /* Highlight the current line in the quickfix window. */ | 3372 /* Highlight the current line in the quickfix window. */ |
3373 if (bt_quickfix(wp->w_buffer) && qf_current_entry(wp) == lnum) | 3373 if (bt_quickfix(wp->w_buffer) && qf_current_entry(wp) == lnum) |
3374 line_attr = HL_ATTR(HLF_L); | 3374 line_attr = HL_ATTR(HLF_QFL); |
3375 # endif | 3375 # endif |
3376 if (line_attr != 0) | 3376 if (line_attr != 0) |
3377 area_highlighting = TRUE; | 3377 area_highlighting = TRUE; |
3378 #endif | 3378 #endif |
3379 | 3379 |