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:
@@ -5628,7 +5628,7 @@ static void op_colon(oparg_T *oap)
|
||||
static Callback opfunc_cb;
|
||||
|
||||
/// Process the 'operatorfunc' option value.
|
||||
void set_operatorfunc_option(char **errmsg)
|
||||
void set_operatorfunc_option(const char **errmsg)
|
||||
{
|
||||
if (option_set_callback_func(p_opfunc, &opfunc_cb) == FAIL) {
|
||||
*errmsg = e_invarg;
|
||||
|
Reference in New Issue
Block a user