summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-24 13:15:07 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-24 13:15:07 +0200
commitf70e3d6c7e4139c8d655101a850c03f522cc98b7 (patch)
tree8e7eddaf6e5daf5f636c4dc5d2829b124558b434 /src
parentd497a30cbe89e25e065c29cec7fd1988900b86e9 (diff)
Don't conceal text in lines inside the Visual area.
Diffstat (limited to 'src')
-rw-r--r--src/screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index f9183e1265..b7f4f408ed 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -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