refactor(options): remove os_op

This commit is contained in:
Famiu Haque
2023-10-11 18:03:22 +06:00
parent 5df4fdf253
commit 36e4901cbd
3 changed files with 3 additions and 7 deletions

View File

@@ -1173,8 +1173,7 @@ static void do_set_option_string(int opt_idx, int opt_flags, char **argp, int ne
// options. Note: when setting 'syntax' or 'filetype' autocommands may
// be triggered that can cause havoc.
*errmsg = did_set_string_option(curbuf, curwin, opt_idx, (char **)varp, oldval,
errbuf, errbuflen,
opt_flags, op, value_checked);
errbuf, errbuflen, opt_flags, value_checked);
secure = secure_saved;