added cmd_fn option for 'grep' providers (to enable '--iglob' support)

main
bhagwan 3 years ago
parent 56885088e9
commit 3b24fe4f39

@ -13,6 +13,9 @@ local last_search = {}
local M = {}
local get_grep_cmd = function(opts, search_query, no_esc)
if opts.cmd_fn and type(opts.cmd_fn) == 'function' then
return opts.cmd_fn(opts, search_query, no_esc)
end
if opts.raw_cmd and #opts.raw_cmd>0 then
return opts.raw_cmd
end

Loading…
Cancel
Save