fzf_exec: normalize opts ('cwd' expand)

main
bhagwan 2 years ago
parent 53cd37031e
commit 341f0641ea

@ -51,7 +51,7 @@ M.fzf_wrap = function(opts, contents, fn_selected)
end
M.fzf_exec = function(contents, opts)
opts = opts or {}
opts = config.normalize_opts(opts or {}, {})
opts.fn_selected = opts.fn_selected or function(selected)
if not selected then return end
actions.act(opts.actions, selected, opts)

Loading…
Cancel
Save