summaryrefslogtreecommitdiffstats
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 19:33:50 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 19:33:50 +0000
commitcbadefe25a27ded93548eaa7a325d2a04bf55d7c (patch)
treec0411fb9bfe3e4728d319817f98841df6fc8c6d6 /src/if_cscope.c
parent1f4a3457a3e55cdacd70ab0d5be587c248fb1ce8 (diff)
patch 8.2.3975: error messages are spread outv8.2.3975
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c5
1 files changed, 3 insertions, 2 deletions
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;
}