builtin: default exclude from 'resume' (#267)
This commit is contained in:
parent
0069dc4a8e
commit
a6213f05e1
@ -31,6 +31,13 @@ M.metatable = function(opts)
|
||||
opts.fzf_opts['--preview-window'] = 'hidden:down:10'
|
||||
opts.fzf_opts['--no-multi'] = ''
|
||||
|
||||
if opts.no_resume == nil and
|
||||
opts.no_global_resume == nil then
|
||||
-- builtin default is no resume as
|
||||
-- the behavior might confuse users (#267)
|
||||
opts.no_resume = true
|
||||
end
|
||||
|
||||
core.fzf_wrap(opts, methods, function(selected)
|
||||
|
||||
if not selected then return end
|
||||
|
Loading…
Reference in New Issue
Block a user