This commit is contained in:
Amber
2024-01-25 09:00:24 +01:00
parent f6424891b9
commit c0db9563cb
4 changed files with 2 additions and 249 deletions

View File

@ -70,7 +70,8 @@ class NerdTreeFind(NerdTree):
if dont_show_children_nodes:
for result in results:
result['nchildren'] = len(result['children'])
children = result.get('children') or []
result['nchildren'] = len(children)
result['children'] = []
tree_struct = {}