aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-23 19:23:41 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-23 19:25:51 +0800
commit79ab277011e4668e2a6368be8ed908dc572af80f (patch)
tree9454df69215492ed28acb667022928e56344b0bf /src/nvim/buffer_defs.h
parent8db55aedb52883f4b024ddd05524e18bc93d5c0b (diff)
downloadrneovim-79ab277011e4668e2a6368be8ed908dc572af80f.tar.gz
rneovim-79ab277011e4668e2a6368be8ed908dc572af80f.tar.bz2
rneovim-79ab277011e4668e2a6368be8ed908dc572af80f.zip
vim-patch:8.2.4812: unused struct item
Problem: Unused struct item. Solution: Remove "lines" match_T. Simplify the code. (closes vim/vim#10256) https://github.com/vim/vim/commit/8279cfe49961b3711c84c66a9954c9f70e9b78c8
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index c16a9c0282..0a1c92a9a4 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -1020,7 +1020,6 @@ 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