diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-22 09:14:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 09:14:42 +0800 |
commit | dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b (patch) | |
tree | a534155ed127b0c6b4f22ea86150c4e0c045d62a /src/nvim/main.c | |
parent | 15c6909bb198ca8a1a22405a4a7e96357716e57e (diff) | |
parent | 58cc66ee1f066127c33157b91c64d9b125a96621 (diff) | |
download | rneovim-dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b.tar.gz rneovim-dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b.tar.bz2 rneovim-dc110cba3c0d48d7c9dbb91900f8be0cf6cf0c9b.zip |
Merge pull request #26970 from famiu/refactor/options/set_option_direct
refactor(options): remove `set_string_option_direct()`
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index ea189aaa0c..361d43393b 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -1573,7 +1573,7 @@ static void handle_quickfix(mparm_T *paramp) { if (paramp->edit_type == EDIT_QF) { if (paramp->use_ef != NULL) { - set_string_option_direct(kOptErrorfile, paramp->use_ef, 0, SID_CARG); + set_option_direct(kOptErrorfile, CSTR_AS_OPTVAL(paramp->use_ef), 0, SID_CARG); } vim_snprintf(IObuff, IOSIZE, "cfile %s", p_ef); if (qf_init(NULL, p_ef, p_efm, true, IObuff, p_menc) < 0) { |