forked from aniani/vim
patch 8.0.0675: 'colorcolumn' has a higher priority than 'hlsearch'
Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be the other way around. (Nazri Ramliy) Solution: Change the priorities. (LemonBoy, closes #1794)
This commit is contained in:
@@ -5502,7 +5502,8 @@ win_line(
|
||||
* Also highlight the 'colorcolumn' if it is different than
|
||||
* 'cursorcolumn' */
|
||||
vcol_save_attr = -1;
|
||||
if (draw_state == WL_LINE && !lnum_in_visual_area)
|
||||
if (draw_state == WL_LINE && !lnum_in_visual_area
|
||||
&& search_attr == 0 && area_attr == 0)
|
||||
{
|
||||
if (wp->w_p_cuc && VCOL_HLC == (long)wp->w_virtcol
|
||||
&& lnum != wp->w_cursor.lnum)
|
||||
|
Reference in New Issue
Block a user