From 2ab648faf877914ec762827fb96232c7cad57455 Mon Sep 17 00:00:00 2001 From: bekaboo Date: Mon, 23 Dec 2024 05:14:16 -0500 Subject: [PATCH] fix: `search_history` and `command_history` not showing custom actions --- lua/fzf-lua/providers/nvim.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/fzf-lua/providers/nvim.lua b/lua/fzf-lua/providers/nvim.lua index 28fa75b2..baaebf0d 100644 --- a/lua/fzf-lua/providers/nvim.lua +++ b/lua/fzf-lua/providers/nvim.lua @@ -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("", "", "execute") + opts = core.set_header(opts, opts.headers) end history(opts, "cmd") end @@ -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("", "", "search") + opts = core.set_header(opts, opts.headers) end history(opts, "search") end