From 80206387c712c2ef78eb1ce6546aa3d3969d7bb8 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Fri, 4 Sep 2026 10:48:45 +0200 Subject: Preserve history after incomplete moves --- lua/clever_f/motion_executor.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/clever_f') diff --git a/lua/clever_f/motion_executor.lua b/lua/clever_f/motion_executor.lua index 0c49ce1..3d6caf5 100644 --- a/lua/clever_f/motion_executor.lua +++ b/lua/clever_f/motion_executor.lua @@ -138,6 +138,9 @@ function MotionExecutor:_execute_command(request) if outcome.successful_steps > 0 then host:apply_cursor(outcome.endpoint) end + if not outcome.complete then + return domain.ActionOutcome.from_search(outcome, request.plan.descriptor) + end return domain.ActionOutcome.from_search(outcome, request.plan.descriptor) end -- cgit v1.2.3