fix(fzf-lua): pass prompt option to fzf

blub
This commit is contained in:
tobias.voelzel 2022-11-18 07:16:22 +01:00 committed by TheBlob42
parent 8c1500069c
commit fa732334c5
1 changed files with 3 additions and 0 deletions

View File

@ -11,7 +11,10 @@ M.select = function(config, items, opts, on_choice)
table.insert(labels, string.format("%d: %s", i, opts.format_item(item)))
end
local prompt = (opts.prompt or "Select one of") .. "> "
local fzf_opts = vim.tbl_deep_extend("keep", config, {
prompt = prompt,
fzf_opts = {
["--no-multi"] = "",
["--preview-window"] = "hidden:right:0",