refactor(options): move some functions from options.c to option.c

This commit is contained in:
Famiu Haque
2023-12-18 04:10:41 +06:00
parent 1d2af15a95
commit 4d98ec2fa4
3 changed files with 238 additions and 238 deletions

View File

@@ -291,7 +291,7 @@ static void set_string_option_global(vimoption_T *opt, char **varp)
/// @param opt_flags OPT_FREE, OPT_LOCAL and/or OPT_GLOBAL.
///
/// TODO(famiu): Remove this and its win/buf variants.
void set_string_option_direct(OptIndex opt_idx, const char *val, int opt_flags, int set_sid)
void set_string_option_direct(OptIndex opt_idx, const char *val, int opt_flags, scid_T set_sid)
{
vimoption_T *opt = get_option(opt_idx);