Mercurial > vim
changeset 22726:768f72ca8872 v8.2.1911
patch 8.2.1911: tiny build fails
Commit: https://github.com/vim/vim/commit/977fd0b327ed46a71c80d2cd62cbe149d43b9a69
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 27 09:12:45 2020 +0100
patch 8.2.1911: tiny build fails
Problem: Tiny build fails.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 27 Oct 2020 09:15:04 +0100 |
parents | 4f40cc0fea4c |
children | bc07ea7707df |
files | src/insexpand.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/insexpand.c +++ b/src/insexpand.c @@ -4067,10 +4067,11 @@ ins_complete(int c, int enable_pum) } else { +#if defined(FEAT_COMPL_FUNC) || defined(FEAT_EVAL) // Update completion sequence number when needed. if (compl_curr_match->cp_number == -1) ins_compl_update_sequence_numbers(); - +#endif // The match should always have a sequence number now, this is // just a safety check. if (compl_curr_match->cp_number != -1)