From cbadefe25a27ded93548eaa7a325d2a04bf55d7c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 1 Jan 2022 19:33:50 +0000 Subject: patch 8.2.3975: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h. --- src/if_cscope.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/if_cscope.c') diff --git a/src/if_cscope.c b/src/if_cscope.c index c7bd9e33ed..91538313e0 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -308,7 +308,7 @@ ex_cstag(exarg_T *eap) if (!ret) { - (void)emsg(_("E257: cstag: tag not found")); + (void)emsg(_(e_cstag_tag_not_founc)); #if defined(FEAT_QUICKFIX) g_do_tagpreview = 0; #endif @@ -1160,7 +1160,8 @@ cs_find_common( if (totmatches == 0) { if (verbose) - (void)semsg(_("E259: no matches found for cscope query %s of %s"), opt, pat); + (void)semsg(_(e_no_matches_found_for_cscope_query_str_of_str), + opt, pat); vim_free(nummatches); return FALSE; } -- cgit v1.2.3