Skip to content

Commit

Permalink
fix: type of fzf_live param
Browse files Browse the repository at this point in the history
I think this is right, matching the type of `fn_reload` in `fzf_exec`.
  • Loading branch information
ernstwi authored and ibhagwan committed Dec 22, 2024
1 parent 12d09d8 commit c3cfa2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fzf-lua/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c3cfa2b

Please sign in to comment.