mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 03:08:27 +00:00
vim-patch:8.2.1689: 'colorcolumn' doesn't show in indent
Problem: 'colorcolumn' doesn't show in indent.
Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
(Alexey Demin, closes vim/vim#6948, closes vim/vim#6619)
ad5e5631c5
This commit is contained in:
@@ -4138,8 +4138,12 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
|
||||
// highlight the cursor position itself.
|
||||
// Also highlight the 'colorcolumn' if it is different than
|
||||
// 'cursorcolumn'
|
||||
// Also highlight the 'colorcolumn' if 'breakindent' and/or 'showbreak'
|
||||
// options are set
|
||||
vcol_save_attr = -1;
|
||||
if (draw_state == WL_LINE
|
||||
if ((draw_state == WL_LINE
|
||||
|| draw_state == WL_BRI
|
||||
|| draw_state == WL_SBR)
|
||||
&& !lnum_in_visual_area
|
||||
&& search_attr == 0
|
||||
&& area_attr == 0
|
||||
|
Reference in New Issue
Block a user