comparison src/insexpand.c @ 26883:7f150a4936f2 v8.2.3970

patch 8.2.3970: error messages are spread out Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 15:58:22 2022 +0000 patch 8.2.3970: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 17:00:04 +0100
parents 06a137af96f8
children b975b7c16ba1
comparison
equal deleted inserted replaced
26882:196f4d7e2a38 26883:7f150a4936f2
4353 // Call 'completefunc' or 'omnifunc' or 'thesaurusfunc' and get pattern 4353 // Call 'completefunc' or 'omnifunc' or 'thesaurusfunc' and get pattern
4354 // length as a string 4354 // length as a string
4355 funcname = get_complete_funcname(ctrl_x_mode); 4355 funcname = get_complete_funcname(ctrl_x_mode);
4356 if (*funcname == NUL) 4356 if (*funcname == NUL)
4357 { 4357 {
4358 semsg(_(e_notset), ctrl_x_mode == CTRL_X_FUNCTION 4358 semsg(_(e_option_str_is_not_set), ctrl_x_mode == CTRL_X_FUNCTION
4359 ? "completefunc" : "omnifunc"); 4359 ? "completefunc" : "omnifunc");
4360 return FAIL; 4360 return FAIL;
4361 } 4361 }
4362 4362
4363 args[0].v_type = VAR_NUMBER; 4363 args[0].v_type = VAR_NUMBER;