aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-10-14 10:47:30 -0400
committerGitHub <noreply@github.com>2026-10-14 10:47:30 -0400
commit613988b5aa6ef3cc465135838b163849e3b386cc (patch)
tree18f8248f94652271782ce636d863e58f8891505b /runtime/lua/vim/_ftplugin/lua.lua
parent326d764e3e5a47a6b2d4ef980715a699c62450da (diff)
downloadrneovim-613988b5aa6ef3cc465135838b163849e3b386cc.tar.gz
rneovim-613988b5aa6ef3cc465135838b163849e3b386cc.tar.bz2
rneovim-613988b5aa6ef3cc465135838b163849e3b386cc.zip
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; 429338e74bf4 fixed the case where the flags are adjacent and in order.) Solution: Remove each item separately.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions