mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
vim-patch:8.0.0033
Problem: Cannot use overlapping positions with matchaddpos().
Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi)
a6c27ee6db
This commit is contained in:
@@ -884,7 +884,7 @@ typedef struct {
|
||||
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 */
|
||||
colnr_T startcol; /* in win_line() points to char where HL starts */
|
||||
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()
|
||||
proftime_T tm; // for a time limit
|
||||
|
Reference in New Issue
Block a user