mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(snacks_picker): merge user config with call options
This commit is contained in:
parent
25abbf546d
commit
9b6e8c94f1
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue