0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0963: function name does not match autocmd event name

Problem:    Function name does not match autocmd event name.
Solution:   Rename "optionsset" to "optionset". (closes #11630)
This commit is contained in:
zeertzjq
2022-11-28 11:36:50 +00:00
committed by Bram Moolenaar
parent 38854b565a
commit 269aa2b29a
5 changed files with 7 additions and 5 deletions

View File

@@ -142,7 +142,7 @@ didset_string_options(void)
* "newval" the new value
*/
void
trigger_optionsset_string(
trigger_optionset_string(
int opt_idx,
int opt_flags,
char_u *oldval,
@@ -542,7 +542,7 @@ set_string_option(
#if defined(FEAT_EVAL)
// call autocommand after handling side effects
if (errmsg == NULL)
trigger_optionsset_string(opt_idx, opt_flags,
trigger_optionset_string(opt_idx, opt_flags,
saved_oldval, saved_oldval_l,
saved_oldval_g, saved_newval);
vim_free(saved_oldval);