-
|
Trying to remove two extra spaces before the buffers / file names... Many attempts, little success. buffers = {
cwd_header = false,
fzf_opts = { ["--delimiter"] = " ", ["--with-nth"] = "-1.." },
header = false,
winopts = {
hide = true,
preview = {
hidden = true,
},
on_close = function()
_G.rendered = false
end,
on_create = function()
local w = require('fzf-lua.utils').fzf_winobj()
local opts = win_opts()
w._o.winopts.width = opts.width + 18
w._o.winopts.height = opts.height + 4
w._o.winopts.hide = false
w:redraw()
_G.rendered = true
end,
},
},Result: Note the extra space after the |
Beta Was this translation helpful? Give feedback.
Answered by
ibhagwan
Jan 5, 2026
Replies: 1 comment 1 reply
-
|
you were close, use :lua FzfLua.buffers({fzf_opts={["--delimiter"]=FzfLua.utils.nbsp,["--with-nth"]="-1.."}}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
savchenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you were close, use
FzfLua.utils.nbspfor delimiter.