From 24aacfe6495320018bf73d071a66eda280869d77 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Fri, 4 Sep 2026 10:54:02 +0200 Subject: Preserve backward operator endpoints --- lua/clever_f/motion_executor.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lua/clever_f/motion_executor.lua') diff --git a/lua/clever_f/motion_executor.lua b/lua/clever_f/motion_executor.lua index 7a0755b..4e972cd 100644 --- a/lua/clever_f/motion_executor.lua +++ b/lua/clever_f/motion_executor.lua @@ -222,7 +222,11 @@ function MotionExecutor:_execute_command(request) then host:set_operator_inclusive(true) end - host:apply_cursor(outcome.endpoint) + host:apply_cursor(outcome.endpoint, { + context = request.context, + descriptor = request.plan.descriptor, + origin = origin, + }) end if not outcome.complete then return domain.ActionOutcome.from_search(outcome, request.plan.descriptor) -- cgit v1.2.3