From 091cc7925e811c543bb3a55bc34dc439630fb063 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Thu, 16 May 2024 08:39:54 -0500 Subject: Fix editor opening --- lib/done.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/done.ml') diff --git a/lib/done.ml b/lib/done.ml index 63e25a9..2c97dd3 100644 --- a/lib/done.ml +++ b/lib/done.ml @@ -134,7 +134,7 @@ let rec render in let selected_file, _ = Array.get content content_position in let full_path_file = Grep.execution_directory ^ "/" ^ selected_file in - let full_args = Array.append (Array.of_list args) [| full_path_file |] in + let full_args = Array.append (Array.of_list args) [| "+1"; full_path_file |] in Common.Term.cursor t (Some (0, 0)); let _ = Unix.create_process_env -- cgit v1.2.3