From 9b6e8c94f16b5a705d3073d1c557ff82970f02fe Mon Sep 17 00:00:00 2001 From: Francesco Pasqua Date: Thu, 4 Sep 2025 20:41:53 +0200 Subject: [PATCH] fix(snacks_picker): merge user config with call options --- lua/lazyvim/plugins/extras/editor/snacks_picker.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazyvim/plugins/extras/editor/snacks_picker.lua b/lua/lazyvim/plugins/extras/editor/snacks_picker.lua index 93f32fab..7e3aa52e 100644 --- a/lua/lazyvim/plugins/extras/editor/snacks_picker.lua +++ b/lua/lazyvim/plugins/extras/editor/snacks_picker.lua @@ -18,6 +18,7 @@ local picker = { ---@param source string ---@param opts? snacks.picker.Config open = function(source, opts) + opts = vim.tbl_deep_extend("force", opts or {}, Snacks.config.picker[source] or {}) return Snacks.picker.pick(source, opts) end, }