fix(snacks_picker): merge user config with call options

This commit is contained in:
Francesco Pasqua 2025-09-04 20:41:53 +02:00
parent 25abbf546d
commit 9b6e8c94f1
No known key found for this signature in database

View file

@ -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,
}