We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3ffd6 commit ca7c4c3Copy full SHA for ca7c4c3
lua/nvim-tree/view.lua
@@ -164,8 +164,10 @@ local function set_window_options_and_buffer()
164
local eventignore = vim.api.nvim_get_option("eventignore") ---@diagnostic disable-line: deprecated
165
vim.api.nvim_set_option("eventignore", "all") ---@diagnostic disable-line: deprecated
166
167
+ -- #3009 vim.api.nvim_win_set_option does not set local scope without explicit winid.
168
+ -- Revert to opt_local instead of propagating it through for just the 0.10 path.
169
for k, v in pairs(M.View.winopts) do
- vim.api.nvim_win_set_option(0, k, v) ---@diagnostic disable-line: deprecated
170
+ vim.opt_local[k] = v
171
end
172
173
vim.api.nvim_set_option("eventignore", eventignore) ---@diagnostic disable-line: deprecated
0 commit comments