Merge pull request #73 from TheBlob42/master
fix(fzf-lua): pass prompt option to fzf
This commit is contained in:
commit
7894d5bc50
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue