feat: open node when using search-node action (#1082)

This commit is contained in:
Andreas Bissinger
2022-03-18 11:32:08 +01:00
committed by GitHub
parent d60773e441
commit e307ad9e3d

View File

@@ -42,6 +42,13 @@ function M.fn()
if absolute_input_path == node.absolute_path then
found_something = true
if node.nodes and not node.open then
node.open = true
core.get_explorer():expand(node)
tree_altered = true
end
return index
end