From b177712c7ac2563cbfad48927452d9544cbafd22 Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Thu, 11 Jan 2024 19:38:04 +0100 Subject: refactor: revert temporary naming --- lib/editor.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/editor.ml b/lib/editor.ml index c3e298e..a516b25 100644 --- a/lib/editor.ml +++ b/lib/editor.ml @@ -255,7 +255,7 @@ let handle_normal_command = Buffer.Action.delete_to_bol |> on_focused_buffer_or_new | _ -> noop -let handle_next_command2 m e = +let handle_next_command m e = match m with | Insert -> ( match Sequence.next e.i_pending with @@ -266,6 +266,6 @@ let handle_next_command2 m e = | None -> ((), e) | Some (h, t) -> handle_normal_command h { e with n_pending = t }) -let handle_next_command2 = +let handle_next_command = let open Action in - get_mode >>= handle_next_command2 + get_mode >>= handle_next_command -- cgit v1.2.3