Skip to content

Commit

Permalink
fix: search_history and command_history not showing custom actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekaboo authored and ibhagwan committed Dec 23, 2024
1 parent a4f1644 commit 2ab648f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/fzf-lua/providers/nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ M.command_history = function(opts)
opts = config.normalize_opts(opts, "command_history")
if not opts then return end
if opts.fzf_opts["--header"] == nil then
opts.fzf_opts["--header"] = arg_header("<CR>", "<Ctrl-e>", "execute")
opts = core.set_header(opts, opts.headers)
end
history(opts, "cmd")
end
Expand All @@ -125,7 +125,7 @@ M.search_history = function(opts)
opts = config.normalize_opts(opts, "search_history")
if not opts then return end
if opts.fzf_opts["--header"] == nil then
opts.fzf_opts["--header"] = arg_header("<CR>", "<Ctrl-e>", "search")
opts = core.set_header(opts, opts.headers)
end
history(opts, "search")
end
Expand Down

0 comments on commit 2ab648f

Please sign in to comment.