diff options
Diffstat (limited to '')
-rw-r--r-- | lib/arbitrary_command.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arbitrary_command.ml b/lib/arbitrary_command.ml index 920a82f..05baf43 100644 --- a/lib/arbitrary_command.ml +++ b/lib/arbitrary_command.ml @@ -7,7 +7,7 @@ let run ~(on_return : string -> unit) t ~selected_file ~content ~command = command |> List.map (fun s -> let s = Str.global_replace (Str.regexp "%(file)") selected_file s in - Str.global_replace (Str.regexp "%(content)") content s) + Str.global_replace (Str.regexp "%(line)") content s) in Common.Term.cursor t (Some (0, 0)); try |