feat: open node when using search-node action (#1082)
This commit is contained in:
committed by
GitHub
parent
d60773e441
commit
e307ad9e3d
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user