mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
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)
7ee3f15b21
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user