From 5e0d7b80a2e23b2efeab677824fd70d84bbbf3be Mon Sep 17 00:00:00 2001 From: Dmitry Vasilev Date: Fri, 19 May 2023 17:41:05 +0300 Subject: [PATCH] fix --- src/cmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.js b/src/cmd.js index 19a4273..20f47b5 100644 --- a/src/cmd.js +++ b/src/cmd.js @@ -552,7 +552,7 @@ const goto_definition = (state, index) => { loc = {module: state.current_module, index: d.index} } return { - state: set_cursor_position( + state: move_cursor( {...state, current_module: loc.module}, loc.index, )