diff options
-rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index b53f9d0aa9..52efd72797 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -3331,7 +3331,7 @@ static void ins_compl_addfrommatch(void) int len = (int)curwin->w_cursor.col - (int)compl_col; int c; compl_T *cp; - + assert(compl_shown_match != NULL); p = compl_shown_match->cp_str; if ((int)STRLEN(p) <= len) { /* the match is too short */ /* When still at the original match use the first entry that matches |