mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
vim-patch:8.2.4890: inconsistent capitalization in error messages
Problem: Inconsistent capitalization in error messages.
Solution: Make capitalization consistent. (Doug Kearns)
cf030578b2
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -133,6 +133,8 @@ static size_t last_recorded_len = 0; // number of last recorded chars
|
||||
# include "getchar.c.generated.h"
|
||||
#endif
|
||||
|
||||
static const char e_recursive_mapping[] = N_("E223: Recursive mapping");
|
||||
|
||||
// Free and clear a buffer.
|
||||
void free_buff(buffheader_T *buf)
|
||||
{
|
||||
@@ -2135,7 +2137,7 @@ static int handle_mapping(int *keylenp, const bool *timedout, int *mapdepth)
|
||||
// Put the replacement string in front of mapstr.
|
||||
// The depth check catches ":map x y" and ":map y x".
|
||||
if (++*mapdepth >= p_mmd) {
|
||||
emsg(_("E223: recursive mapping"));
|
||||
emsg(_(e_recursive_mapping));
|
||||
if (State & MODE_CMDLINE) {
|
||||
redrawcmdline();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user