summaryrefslogtreecommitdiff
path: root/lua/clever_f/motion_executor.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/clever_f/motion_executor.lua')
-rw-r--r--lua/clever_f/motion_executor.lua6
1 files changed, 5 insertions, 1 deletions
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)