0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

Never hide text for conceal in cursor line. Do hide when there is

highlighting.
This commit is contained in:
Bram Moolenaar
2010-07-19 20:13:22 +02:00
parent c400cb9ca7
commit a7781e0516
2 changed files with 6 additions and 9 deletions

View File

@@ -4377,12 +4377,9 @@ win_line(wp, lnum, startrow, endrow, nochange)
}
#ifdef FEAT_CONCEAL
if ( wp->w_p_conc > 0
&& !area_highlighting
&& (lnum != wp->w_cursor.lnum
|| curwin != wp || wp->w_buffer->b_p_ma == FALSE)
&& (syntax_flags & HL_CONCEAL) != 0)
if ( wp->w_p_conc > 0
&& (lnum != wp->w_cursor.lnum || curwin != wp)
&& (syntax_flags & HL_CONCEAL) != 0)
{
char_attr = conceal_attr;
if (first_conceal