diff options
author | Tommy Allen <tommy@esdf.io> | 2016-08-03 17:24:26 -0400 |
---|---|---|
committer | Tommy Allen <tommy@esdf.io> | 2016-08-17 17:48:15 -0400 |
commit | 8d8af6565963ac17239ec6ed620eebff6c101458 (patch) | |
tree | d0cd47df65a820e76ec9d62d94e256a78517b56c /src/nvim/screen.c | |
parent | 605e74327a406682f317d07e0097690fc1e577cb (diff) | |
download | rneovim-8d8af6565963ac17239ec6ed620eebff6c101458.tar.gz rneovim-8d8af6565963ac17239ec6ed620eebff6c101458.tar.bz2 rneovim-8d8af6565963ac17239ec6ed620eebff6c101458.zip |
Linting
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; |