respect 'winotps_fn' layout overrides in native previewers (#356)

main
bhagwan 2 years ago
parent fcaa3d5b24
commit f915ba0e9a

@ -150,6 +150,9 @@ M.fzf = function(opts, contents)
fzf_win:attach_previewer(previewer)
fzf_win:create()
-- save the normalized winopts, otherwise we
-- lose overrides by 'winopts_fn|winopts_raw'
opts.winopts = fzf_win.winopts
local selected, exit_code = fzf.raw_fzf(contents, M.build_fzf_cli(opts),
{ fzf_binary = opts.fzf_bin, fzf_cwd = opts.cwd })
-- This was added by 'resume':

Loading…
Cancel
Save