refactor(optionstr.c): break up did_set_string_option 26

This commit is contained in:
Lewis Russell
2023-01-23 09:38:44 +00:00
parent 7fa7c758e2
commit 700a02bd83
5 changed files with 31 additions and 42 deletions

View File

@@ -3854,10 +3854,11 @@ static buf_T *qf_find_buf(qf_info_T *qi)
}
/// Process the 'quickfixtextfunc' option value.
/// @return OK or FAIL
int qf_process_qftf_option(void)
void qf_process_qftf_option(char **errmsg)
{
return option_set_callback_func(p_qftf, &qftf_cb);
if (option_set_callback_func(p_qftf, &qftf_cb) == FAIL) {
*errmsg = e_invarg;
}
}
/// Update the w:quickfix_title variable in the quickfix/location list window in