diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-16 08:39:54 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-16 08:39:54 -0500 |
commit | 091cc7925e811c543bb3a55bc34dc439630fb063 (patch) | |
tree | b502a59bf7eace899bd31c3d3c3dc66caa5365d2 /lib/todos.ml | |
parent | 1d1c0f73f95429384d0b571c0c844acf9073d32f (diff) | |
download | stitch-091cc7925e811c543bb3a55bc34dc439630fb063.tar.gz stitch-091cc7925e811c543bb3a55bc34dc439630fb063.tar.bz2 stitch-091cc7925e811c543bb3a55bc34dc439630fb063.zip |
Fix editor opening
Diffstat (limited to 'lib/todos.ml')
-rw-r--r-- | lib/todos.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/todos.ml b/lib/todos.ml index 57f03a8..08c9a34 100644 --- a/lib/todos.ml +++ b/lib/todos.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 |