mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 23:05:41 +00:00
fix: vim.opt_local:append ignoring global option value (#21382)
Closes https://github.com/neovim/neovim/issues/18225
This commit is contained in:
@@ -526,7 +526,7 @@ local function create_option_accessor(scope)
|
||||
|
||||
return setmetatable({}, {
|
||||
__index = function(_, k)
|
||||
return make_option(k, a.nvim_get_option_value(k, { scope = scope }))
|
||||
return make_option(k, a.nvim_get_option_value(k, {}))
|
||||
end,
|
||||
|
||||
__newindex = function(_, k, v)
|
||||
|
||||
Reference in New Issue
Block a user