summaryrefslogtreecommitdiff
path: root/lua/clever_f
diff options
context:
space:
mode:
Diffstat (limited to 'lua/clever_f')
-rw-r--r--lua/clever_f/destination_engine.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/clever_f/destination_engine.lua b/lua/clever_f/destination_engine.lua
index eb41d47..027dd2a 100644
--- a/lua/clever_f/destination_engine.lua
+++ b/lua/clever_f/destination_engine.lua
@@ -168,6 +168,12 @@ function DestinationEngine:calculate(view, origin, plan, count, first_move)
if successful_steps == request.count.value then
return domain.SearchOutcome.complete(current_origin, successful_steps)
end
+ if successful_steps > 0 then
+ return domain.SearchOutcome.boundary_after_partial(
+ current_origin,
+ successful_steps
+ )
+ end
return domain.SearchOutcome.boundary_before_any(request.origin)
end