aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-21 06:55:28 +0800
committerGitHub <noreply@github.com>2022-04-21 06:55:28 +0800
commit61eca90f653f6788374c2c5c177d809e6bb5a40c (patch)
treee724eda0cf298123b3410d3d96350d845a35d159 /src/nvim/buffer_defs.h
parentbfd6eb4404d7250d1b59fc24f08a9392fba0c043 (diff)
parent81453579745516316067ba8154eb02e1305114fc (diff)
downloadrneovim-61eca90f653f6788374c2c5c177d809e6bb5a40c.tar.gz
rneovim-61eca90f653f6788374c2c5c177d809e6bb5a40c.tar.bz2
rneovim-61eca90f653f6788374c2c5c177d809e6bb5a40c.zip
Merge pull request #18187 from zeertzjq/vim-8.2.4724
vim-patch:8.2.4724: current instance of last search pattern not easily spotted
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 375bebc5ac..4917a628ff 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -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