Skip to content

Commit

Permalink
fix(ui_select): prompt not showing (closes #1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Jan 9, 2025
1 parent 446c5a5 commit af6ecbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fzf-lua/providers/ui_select.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ M.ui_select = function(items, ui_opts, on_choice)

-- Force override prompt or it stays cached (#786)
local prompt = ui_opts.prompt or "Select one of:"
opts.fzf_opts["--prompt"] = prompt:gsub(":%s?$", "> ")
opts.prompt = prompt:gsub(":%s?$", "> ")

-- save items so we can access them from the action
opts._items = items
Expand Down

0 comments on commit af6ecbd

Please sign in to comment.