mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
vim-patch:8.2.4759: CurSearch highlight does not work for multi-line match
Problem: CurSearch highlight does not work for multi-line match.
Solution: Check cursor position before adjusting columns. (closes vim/vim#10133)
693ccd1160
This commit is contained in:
@@ -1027,6 +1027,7 @@ typedef struct {
|
||||
colnr_T startcol; // in win_line() points to char where HL starts
|
||||
colnr_T endcol; // in win_line() points to char where HL ends
|
||||
bool is_addpos; // position specified directly by matchaddpos()
|
||||
bool has_cursor; // true if the cursor is inside the match, used for CurSearch
|
||||
proftime_T tm; // for a time limit
|
||||
} match_T;
|
||||
|
||||
|
Reference in New Issue
Block a user