From 476c50903a38a2ab85546c6f061117950d6e79fc Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 13 Sep 2020 01:33:53 -0400 Subject: vim-patch:8.1.0499: :2vimgrep causes an ml_get error Problem: :2vimgrep causes an ml_get error Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/1c29943416207e21abbc790eaf563b36789170c2 --- src/nvim/memline.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/memline.c') diff --git a/src/nvim/memline.c b/src/nvim/memline.c index f9390bcb88..2a75f13cc2 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -1818,6 +1818,7 @@ ml_get_buf ( linenr_T lnum, bool will_change // line will be changed ) + FUNC_ATTR_NONNULL_ALL { bhdr_T *hp; DATA_BL *dp; -- cgit