Skip to content

Commit 5d2ba91

Browse files
committed
fix(win): regression from 05a4af9 (#2263 #2266)
1 parent 15a6d0d commit 5d2ba91

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lua/fzf-lua/utils.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,9 @@ local function new_win_opt_accessor(winid)
15641564
or vim.api.nvim_get_option_value(k, { scope = "local", win = winid or 0 }) == v then
15651565
return
15661566
end
1567-
vim.api.nvim_set_option_value(k, v, { scope = "local", win = winid or 0 })
1567+
vim.wo[winid or 0][k] = v
1568+
-- TODO: causes issues with highlights
1569+
-- vim.api.nvim_set_option_value(k, v, { scope = "local", win = winid or 0 })
15681570
end,
15691571
})
15701572
end

0 commit comments

Comments
 (0)