mirror of
https://github.com/vim/vim
synced 2025-07-18 10:11:58 +00:00
patch 9.0.1262: the did_set_string_option function is too long
Problem: The did_set_string_option function is too long. Solution: Split off functionality to individual functions. (Yegappan Lakshmanan, Lewis Russell, closes #11904)
This commit is contained in:
committed by
Bram Moolenaar
parent
2a99fe6c41
commit
f2e30d0c44
@ -4533,10 +4533,13 @@ qf_find_buf(qf_info_T *qi)
|
||||
* Process the 'quickfixtextfunc' option value.
|
||||
* Returns OK or FAIL.
|
||||
*/
|
||||
int
|
||||
char *
|
||||
qf_process_qftf_option(void)
|
||||
{
|
||||
return option_set_callback_func(p_qftf, &qftf_cb);
|
||||
if (option_set_callback_func(p_qftf, &qftf_cb) == FAIL)
|
||||
return e_invalid_argument;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user