@@ -1358,6 +1358,8 @@ tree.open({opts}) *nvim-tree-api.tree.open()*
1358
1358
Options: ~
1359
1359
• {path} (string) root directory for the tree
1360
1360
• {current_window} (boolean) open the tree in the current window
1361
+ • {winid} (number) open the tree in the specified | winid | ,
1362
+ overrides {current_window}
1361
1363
• {find_file} (boolean) find the current buffer
1362
1364
• {update_root} (boolean) requires {find_file}, see
1363
1365
| nvim-tree.update_focused_file.update_root |
@@ -1371,6 +1373,8 @@ tree.toggle({opts}) *nvim-tree-api.tree.toggle()*
1371
1373
Options: ~
1372
1374
• {path} (string) root directory for the tree
1373
1375
• {current_window} (boolean) open the tree in the current window
1376
+ • {winid} (number) open the tree in the specified | winid | ,
1377
+ overrides {current_window}
1374
1378
• {find_file} (boolean) find the current buffer
1375
1379
• {update_root} (boolean) requires {find_file}, see
1376
1380
| nvim-tree.update_focused_file.update_root |
@@ -1433,8 +1437,10 @@ tree.find_file({opts}) *nvim-tree-api.tree.find_file()*
1433
1437
1434
1438
Options: ~
1435
1439
• {buf} (string|number) absolute/relative path OR bufnr to find
1436
- • {open} (boolean) open the tree
1440
+ • {open} (boolean) open the tree if necessary
1437
1441
• {current_window} (boolean) requires {open} , open in the current window
1442
+ • {winid} (number) open the tree in the specified | winid | ,
1443
+ overrides {current_window}
1438
1444
• {update_root} (boolean) see | nvim-tree.update_focused_file.update_root |
1439
1445
• {focus} (boolean) focus the tree
1440
1446
0 commit comments