Skip to content

Commit 51c8f85

Browse files
winter-againtjex
andauthored
Make fzf-lua prompts uniform (#282)
* Make fzf-lua prompts uniform * better display of picker prompt symbol --------- Co-authored-by: tjex <tjex@tjex.net>
1 parent 678ac8b commit 51c8f85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lua/zk/pickers/fzf_lua.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function M.show_note_picker(notes, options, cb)
3333
options = options or {}
3434
local notes_by_path = {}
3535
local fzf_opts = vim.tbl_deep_extend("force", {
36-
prompt = options.title .. " ",
36+
prompt = options.title .. " > ",
3737
previewer = fzf_lua_previewer,
3838
fzf_opts = {
3939
["--delimiter"] = delimiter,
@@ -92,7 +92,7 @@ function M.show_tag_picker(tags, options, cb)
9292
options = options or {}
9393
local tags_by_name = {}
9494
local fzf_opts = vim.tbl_extend("force", {
95-
prompt = options.title .. "> ",
95+
prompt = options.title .. " > ",
9696
fzf_opts = {
9797
["--delimiter"] = delimiter,
9898
["--tiebreak"] = "index",

lua/zk/pickers/minipick.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ H.item_picker = function(items, opts, cb)
2828
opts = opts or {}
2929
local minipick_opts = vim.tbl_deep_extend("force", {
3030
window = {
31-
prompt_prefix = opts.title .. "> ",
31+
prompt_prefix = opts.title .. " > ",
3232
},
3333
source = {
3434
items = items,

0 commit comments

Comments
 (0)