refactor(#2942): multi instance: move utils functions to Explorer methods (#3200)

* refactor(#2942): multi instance: move find_node_line to Explorer

* refactor(#2942): multi instance: move get_node_from_path to Explorer

* refactor(#2942): multi instance: move focus_file to Explorer

* refactor(#2942): multi instance: move focus_node_or_parent to Explorer

* refactor(#2942): multi instance: move get_node_from_path to Explorer

* refactor(#2942): multi instance: move find_node to Explorer

* refactor(#2942): multi instance: move get_nodes_by_line to Explorer

* refactor(#2942): multi instance: remove unnecessary focus_file

* refactor(#2942): style
This commit is contained in:
Alexander Courtis
2025-09-08 16:26:42 +10:00
committed by GitHub
parent f92cc3a91c
commit e179ad2f83
11 changed files with 135 additions and 153 deletions

View File

@@ -56,7 +56,7 @@ local function collapse(node, opts)
:iterate()
explorer.renderer:draw()
utils.focus_node_or_parent(node_at_cursor)
explorer:focus_node_or_parent(node_at_cursor)
end