From c3cfa2b59ad1903f79a5a431ce3133300dd6e072 Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Sun, 22 Dec 2024 01:06:02 +0100 Subject: [PATCH] fix: type of `fzf_live` param I think this is right, matching the type of `fn_reload` in `fzf_exec`. --- lua/fzf-lua/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/fzf-lua/core.lua b/lua/fzf-lua/core.lua index b50fd8d5..28f97d8e 100644 --- a/lua/fzf-lua/core.lua +++ b/lua/fzf-lua/core.lua @@ -193,7 +193,7 @@ M.fzf_exec = function(contents, opts) return M.fzf_wrap(opts, contents) end ----@param contents fun(query: string): string|string[]|function +---@param contents string|fun(query: string): string|string[]|function ---@param opts? table M.fzf_live = function(contents, opts) assert(contents)