mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
vim-patch:8.2.4724: current instance of last search pattern not easily spotted
Problem: Current instance of last search pattern not easily spotted.
Solution: Add CurSearch highlighting. (closes vim/vim#10133)
a43993897a
This fixes CurSearch highlight for multiline match.
Omit screen redrawing code because Nvim redraws CurSearch differently.
This commit is contained in:
@@ -1018,6 +1018,7 @@ typedef struct {
|
||||
// match (may continue in next line)
|
||||
buf_T *buf; // the buffer to search for a match
|
||||
linenr_T lnum; // the line to search for a match
|
||||
linenr_T lines; // number of lines starting from lnum
|
||||
int attr; // attributes to be used for a match
|
||||
int attr_cur; // attributes currently active in win_line()
|
||||
linenr_T first_lnum; // first lnum to search for multi-line pat
|
||||
|
Reference in New Issue
Block a user