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

Don't conceal text in lines inside the Visual area.

This commit is contained in:
Bram Moolenaar
2010-07-24 13:15:07 +02:00
parent d497a30cbe
commit f70e3d6c7e
3 changed files with 17 additions and 2 deletions

View File

@@ -4424,7 +4424,8 @@ win_line(wp, lnum, startrow, endrow, nochange)
if ( wp->w_p_cole > 0
&& (wp != curwin || lnum != wp->w_cursor.lnum ||
conceal_cursor_line(wp))
&& (syntax_flags & HL_CONCEAL) != 0)
&& (syntax_flags & HL_CONCEAL) != 0
&& !lnum_in_visual_area)
{
char_attr = conceal_attr;
if (prev_syntax_id != syntax_id