|
|
|
@ -115,7 +115,8 @@ M.grep = function(opts)
|
|
|
|
|
opts.__MODULE__ = opts.__MODULE__ or M
|
|
|
|
|
|
|
|
|
|
local no_esc = false
|
|
|
|
|
if opts.continue_last_search or opts.repeat_last_search then
|
|
|
|
|
if not opts.search and
|
|
|
|
|
(opts.continue_last_search or opts.repeat_last_search) then
|
|
|
|
|
opts.search, no_esc = get_last_search(opts)
|
|
|
|
|
opts.search = opts.search or opts.continue_last_search_default
|
|
|
|
|
end
|
|
|
|
@ -176,7 +177,8 @@ M.live_grep_st = function(opts)
|
|
|
|
|
assert(not opts.multiprocess)
|
|
|
|
|
|
|
|
|
|
local no_esc = false
|
|
|
|
|
if opts.continue_last_search or opts.repeat_last_search then
|
|
|
|
|
if not opts.search and
|
|
|
|
|
(opts.continue_last_search or opts.repeat_last_search) then
|
|
|
|
|
opts.search, no_esc = get_last_search(opts)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
@ -248,7 +250,8 @@ M.live_grep_mt = function(opts)
|
|
|
|
|
assert(opts.multiprocess)
|
|
|
|
|
|
|
|
|
|
local no_esc = false
|
|
|
|
|
if opts.continue_last_search or opts.repeat_last_search then
|
|
|
|
|
if not opts.search and
|
|
|
|
|
(opts.continue_last_search or opts.repeat_last_search) then
|
|
|
|
|
opts.search, no_esc = get_last_search(opts)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|