summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-09-02 15:07:28 +0200
committerBram Moolenaar <Bram@vim.org>2018-09-02 15:07:28 +0200
commit7ee3f15b21042cb8148980ea486137eaf1b55bcd (patch)
treea7f6dd33a377f7cd245c45eb519c90d548218243 /src/screen.c
parent3c5b8cd25485183ff7ce737e4dac069541210f6c (diff)
downloadvim-git-7ee3f15b21042cb8148980ea486137eaf1b55bcd.tar.gz
patch 8.1.0344: 'hlsearch' highlighting has a gap after /$v8.1.0344
Problem: 'hlsearch' highlighting has a gap after /$. Solution: Remove suspicious code. (Ricky Zhou, closes #3400)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/screen.c b/src/screen.c
index 410772ac5..743c321c4 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -5496,15 +5496,6 @@ win_line(
if (c == NUL)
{
#ifdef FEAT_SYN_HL
- if (eol_hl_off > 0 && vcol - eol_hl_off == (long)wp->w_virtcol
- && lnum == wp->w_cursor.lnum)
- {
- /* highlight last char after line */
- --col;
- --off;
- --vcol;
- }
-
/* Highlight 'cursorcolumn' & 'colorcolumn' past end of the line. */
if (wp->w_p_wrap)
v = wp->w_skipcol;