This commit is contained in:
Dmitry Vasilev
2023-05-19 17:41:05 +03:00
parent e91e0f2824
commit 5e0d7b80a2

View File

@@ -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,
)