mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
refactor: make error message definitions const
message.c functions now take const char * as a format. Error message definitions can be made const.
This commit is contained in:
@@ -47,11 +47,11 @@ typedef struct digraph {
|
||||
result_T result;
|
||||
} digr_T;
|
||||
|
||||
static char e_digraph_must_be_just_two_characters_str[]
|
||||
static const char e_digraph_must_be_just_two_characters_str[]
|
||||
= N_("E1214: Digraph must be just two characters: %s");
|
||||
static char e_digraph_argument_must_be_one_character_str[]
|
||||
static const char e_digraph_argument_must_be_one_character_str[]
|
||||
= N_("E1215: Digraph must be one character: %s");
|
||||
static char e_digraph_setlist_argument_must_be_list_of_lists_with_two_items[]
|
||||
static const char e_digraph_setlist_argument_must_be_list_of_lists_with_two_items[]
|
||||
= N_("E1216: digraph_setlist() argument must be a list of lists with two items");
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
|
Reference in New Issue
Block a user