mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +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:
@@ -96,6 +96,9 @@ struct block_def {
|
||||
# include "ops.c.generated.h"
|
||||
#endif
|
||||
|
||||
static const char e_search_pattern_and_expression_register_may_not_contain_two_or_more_lines[]
|
||||
= N_("E883: Search pattern and expression register may not contain two or more lines");
|
||||
|
||||
// Flags for third item in "opchars".
|
||||
#define OPF_LINES 1 // operator always works on lines
|
||||
#define OPF_CHANGE 2 // operator changes text
|
||||
@@ -5043,8 +5046,7 @@ void write_reg_contents_lst(int name, char **strings, bool must_append, MotionTy
|
||||
if (strings[0] == NULL) {
|
||||
s = "";
|
||||
} else if (strings[1] != NULL) {
|
||||
emsg(_("E883: search pattern and expression register may not "
|
||||
"contain two or more lines"));
|
||||
emsg(_(e_search_pattern_and_expression_register_may_not_contain_two_or_more_lines));
|
||||
return;
|
||||
}
|
||||
write_reg_contents_ex(name, s, -1, must_append, yank_type, block_len);
|
||||
|
Reference in New Issue
Block a user