Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
18089:72312a8d592d | 18090:a6c74689fb97 |
---|---|
4761 if (cul_attr) | 4761 if (cul_attr) |
4762 char_attr = hl_combine_attr( | 4762 char_attr = hl_combine_attr( |
4763 comb_attr, cul_attr); | 4763 comb_attr, cul_attr); |
4764 else | 4764 else |
4765 #endif | 4765 #endif |
4766 if (line_attr) | |
4767 char_attr = hl_combine_attr( | |
4768 comb_attr, line_attr); | |
4769 else | |
4766 char_attr = comb_attr; | 4770 char_attr = comb_attr; |
4767 } | 4771 } |
4768 else | 4772 else |
4769 char_attr = hl_combine_attr(comb_attr, char_attr); | 4773 char_attr = hl_combine_attr(comb_attr, char_attr); |
4770 } | 4774 } |
4771 # ifdef FEAT_CONCEAL | 4775 # ifdef FEAT_CONCEAL |
4772 /* no concealing past the end of the line, it interferes | 4776 // no concealing past the end of the line, it interferes |
4773 * with line highlighting */ | 4777 // with line highlighting |
4774 if (c == NUL) | 4778 if (c == NUL) |
4775 syntax_flags = 0; | 4779 syntax_flags = 0; |
4776 else | 4780 else |
4777 syntax_flags = get_syntax_info(&syntax_seqnr); | 4781 syntax_flags = get_syntax_info(&syntax_seqnr); |
4778 # endif | 4782 # endif |