diff options
author | Ricky Zhou <ricky@rzhou.org> | 2018-08-26 21:23:59 -0700 |
---|---|---|
committer | Ricky Zhou <ricky@rzhou.org> | 2018-09-03 03:13:03 -0700 |
commit | 6c3b0fb831da89aac679da69a0fd5df43c27af80 (patch) | |
tree | 2a81040bee25f4fa53983cf3adfe8b643782839f /src/nvim/screen.c | |
parent | f62d4865d88de0bd60218ecb3e08d9f3c772e12e (diff) | |
download | rneovim-6c3b0fb831da89aac679da69a0fd5df43c27af80.tar.gz rneovim-6c3b0fb831da89aac679da69a0fd5df43c27af80.tar.bz2 rneovim-6c3b0fb831da89aac679da69a0fd5df43c27af80.zip |
vim-patch:8.1.0344: 'hlsearch' highlighting has a gap after /$
Problem: 'hlsearch' highlighting has a gap after /$.
Solution: Remove suspicious code. (Ricky Zhou, closes vim/vim#3400)
https://github.com/vim/vim/commit/7ee3f15b21042cb8148980ea486137eaf1b55bcd
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 91840026a5..81911fb928 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -3916,14 +3916,6 @@ win_line ( * At end of the text line. */ if (c == NUL) { - 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; |