neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit d78215f6a221f403c045601174c1e37cf9d40023
parent b1b623420888778c5803755354351682a091b9ce
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Tue, 14 Oct 2025 09:49:17 +0800

vim-patch:9.1.1854: unnecessary code in optionstr.c (#36170)

Problem:  unnecessary code in optionstr.c
Solution: Remove it (Hirohito Higashi)

fixes: vim/vim#18551
closes: vim/vim#18554

https://github.com/vim/vim/commit/91959a797d5017ee07b90c7516de91f40e11f048

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Diffstat:
Msrc/nvim/optionstr.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c @@ -987,10 +987,6 @@ const char *did_set_completeopt(optset_T *args FUNC_ATTR_UNUSED) buf->b_cot_flags = 0; } - if (opt_strings_flags(cot, opt_cot_values, NULL, true) != OK) { - return e_invarg; - } - if (opt_strings_flags(cot, opt_cot_values, flags, true) != OK) { return e_invarg; }