From 7bcab42d273b5e145b48063b1ae5ba3281ac0ace Mon Sep 17 00:00:00 2001 From: phanium Date: Sun, 8 Sep 2024 00:52:47 +0800 Subject: [PATCH] fix: not resume after enter (regression) --- lua/flo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/flo.lua b/lua/flo.lua index e78f9c0..bd4dfb7 100644 --- a/lua/flo.lua +++ b/lua/flo.lua @@ -82,7 +82,7 @@ local apis = once(function(k) 'force', opts, spec.opts or {}, - { query = table.concat(require('flo.util').getregion()) }, + k == 'resume' and {} or { query = table.concat(require('flo.util').getregion()) }, -- this enable resuming after `enter` call_opts or {} )