Skip to content

Commit

Permalink
Grammar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Oct 25, 2024
1 parent 6161924 commit 0e1778f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@

- Added real time refresh of search

- Added code to open selected text file at selected search result for:
- Added code to open selected text file to selected search result for:

- nano
- neovim/vim/vi
Expand Down
2 changes: 1 addition & 1 deletion bin/docfd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ let run
);
let old_stats = Unix.stat file in
close_term ();
Misc_utils.gen_command_to_open_text_file_at_line_num
Misc_utils.gen_command_to_open_text_file_to_line_num
~editor:!Params.text_editor
~path:file
~line_num:(max 1 (Dynarray.length snapshots - 1))
Expand Down
2 changes: 1 addition & 1 deletion bin/misc_utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ let normalize_filter_glob_if_not_empty (s : string) =
normalize_glob_to_absolute s
)

let gen_command_to_open_text_file_at_line_num ~editor ~path ~line_num =
let gen_command_to_open_text_file_to_line_num ~editor ~path ~line_num =
let path = Filename.quote path in
let fallback = Fmt.str "%s %s" editor path in
match Filename.basename editor with
Expand Down
2 changes: 1 addition & 1 deletion bin/path_open.ml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ let text index document_src ~editor ~path ~search_result =
|> Index.Line_loc.line_num_in_page
|> (fun x -> x + 1)
in
Misc_utils.gen_command_to_open_text_file_at_line_num
Misc_utils.gen_command_to_open_text_file_to_line_num
~editor ~path ~line_num
)
in
Expand Down

0 comments on commit 0e1778f

Please sign in to comment.