aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-21 20:44:15 +0800
committerGitHub <noreply@github.com>2022-04-21 20:44:15 +0800
commitaf5a7a0582f435267b54d98a9ef6c2b1be811a25 (patch)
tree42fa6fe12cd07542605c96c595f75dbc65314975 /src/nvim/buffer_defs.h
parente6dec30332f2538ae45d58e6bb674c8a28422fe9 (diff)
parent4b19f94c2800b6ab89db57919d35c9696f48cef7 (diff)
downloadrneovim-af5a7a0582f435267b54d98a9ef6c2b1be811a25.tar.gz
rneovim-af5a7a0582f435267b54d98a9ef6c2b1be811a25.tar.bz2
rneovim-af5a7a0582f435267b54d98a9ef6c2b1be811a25.zip
Merge pull request #18209 from zeertzjq/vim-8.2.4759
vim-patch:8.2.4759: CurSearch highlight does not work for multi-line match
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 baa0d1f102..c16a9c0282 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -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;