diff --git a/lua/fzf-lua/config.lua b/lua/fzf-lua/config.lua index 4d36569..012736e 100644 --- a/lua/fzf-lua/config.lua +++ b/lua/fzf-lua/config.lua @@ -632,15 +632,15 @@ end function M.normalize_opts(opts, defaults) if not opts then opts = {} end - -- save the user's call parameters separately - -- we reuse those with 'actions.grep_lgrep' - opts.__call_opts = opts.__call_opts or utils.deepcopy(opts) - -- opts can also be a function that returns an opts table if type(opts) == 'function' then opts = opts() end + -- save the user's call parameters separately + -- we reuse those with 'actions.grep_lgrep' + opts.__call_opts = opts.__call_opts or utils.deepcopy(opts) + -- inherit from globals.actions? if type(defaults._actions) == 'function' then defaults.actions = vim.tbl_deep_extend("keep",