comparison src/insexpand.c @ 26958:d92e0d85923f v8.2.4008

patch 8.2.4008: error messages are spread out Commit: https://github.com/vim/vim/commit/677658ae49de31fe2e5b1fa6d93fdfab85a4362e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 5 16:09:06 2022 +0000 patch 8.2.4008: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Jan 2022 17:15:05 +0100
parents 8dbdd68627bd
children 85866e069c24
comparison
equal deleted inserted replaced
26957:e5b81e2bed22 26958:d92e0d85923f
2862 || check_for_list_arg(argvars, 1) == FAIL)) 2862 || check_for_list_arg(argvars, 1) == FAIL))
2863 return; 2863 return;
2864 2864
2865 if ((State & INSERT) == 0) 2865 if ((State & INSERT) == 0)
2866 { 2866 {
2867 emsg(_("E785: complete() can only be used in Insert mode")); 2867 emsg(_(e_complete_can_only_be_used_in_insert_mode));
2868 return; 2868 return;
2869 } 2869 }
2870 2870
2871 // "textlock" is set when evaluating 'completefunc' but we can change 2871 // "textlock" is set when evaluating 'completefunc' but we can change
2872 // text here. 2872 // text here.