Files
neovim/runtime
Justin M. Keyes 613988b5aa fix(api): nvim_set_option_value() "remove" ignores non-adjacent items #42351
Problem:
`nvim_set_option_value('fo', {'c','r','o'}, {operation='remove'})` does
nothing on "jcqrol": the items are joined into one `:set-=` value, which
only matches a contiguous substring. Removing map keys, e.g. {'eol','space'}
from 'listchars', never matches. `vim.opt:remove{…}` inherits this.

(Regression from f34ee3da80e8; 429338e74b fixed the case where the
flags are adjacent and in order.)

Solution:
Remove each item separately.
2026-10-14 10:47:30 -04:00
..
…
…