fix: add space after prompt to look nicer (#136)
This commit is contained in:
parent
d7dde6afff
commit
44a3638721
|
@ -33,7 +33,7 @@ M.select = function(config, items, opts, on_choice)
|
||||||
local item = items[lnum]
|
local item = items[lnum]
|
||||||
on_choice(item, lnum)
|
on_choice(item, lnum)
|
||||||
end
|
end
|
||||||
vim.fn["dressing#fzf_run"](labels, string.format('--prompt="%s"', opts.prompt), config.window)
|
vim.fn["dressing#fzf_run"](labels, string.format('--prompt="%s "', opts.prompt), config.window)
|
||||||
-- fzf doesn't have a cancel callback, so we have to make one.
|
-- fzf doesn't have a cancel callback, so we have to make one.
|
||||||
vim.cmd([[autocmd TermClose <buffer> ++once lua require('dressing.select.fzf')._on_term_close()]])
|
vim.cmd([[autocmd TermClose <buffer> ++once lua require('dressing.select.fzf')._on_term_close()]])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue