nvim-tree.lua/lua/nvim-tree
Kasper Kondzielski 1b876db049
feat(#2789): add optional function expand_until to api.tree.expand_all and api.node.expand (#3166)
* feat: Allow to expand nodes until certain condition is met

* Fix warnings

* Restore original position of edit function

* Rename field to match the api method name

* Rename ApiTreeExpandAllOpts to ApiTreeExpandOpts

* Remove toggle_descend_until

* Remove redundant empty line

* Update :help for changed methods

* Fix partial expansion of grouped nodes

* Fix lint error

* Fix linting error

* Fix incorrect open/close indicator state

* Update docs

* Rename descend_until option to expand_until

* Always check directory expansion limit

* Fix linter errors

* Ignore unused param warning

* Apply suggestions from code review

* simplify MAX_FOLDER_DISCOVERY warning

* fix bad comment whitespace

---------

Co-authored-by: ghostbuster91 <ghostbuster91@users.noreply.github.com>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-08-11 13:50:26 +10:00
..
_meta feat(#2948): add custom decorators, :help nvim-tree-decorators (#2996) 2024-12-07 16:03:29 +11:00
actions feat(#2789): add optional function expand_until to api.tree.expand_all and api.node.expand (#3166) 2025-08-11 13:50:26 +10:00
appearance revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
explorer revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
git perf(#3171): use vim.system() instead of vim.fn.system() to execute git toplevel (#3175) 2025-08-05 13:23:51 +10:00
iterators revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
marks revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
node feat(#2948): add custom decorators, :help nvim-tree-decorators (#2996) 2024-12-07 16:03:29 +11:00
renderer feat(#2685): highlight git new tracked with NvimTreeGitFileNewHL (#3176) 2025-08-10 15:00:38 +10:00
api.lua feat(#2789): add optional function expand_until to api.tree.expand_all and api.node.expand (#3166) 2025-08-11 13:50:26 +10:00
buffers.lua chore: resolve undefined-field warnings, fix link git statuses, rewrite devicons (#2968) 2024-11-03 14:06:12 +11:00
classic.lua chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
commands.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
core.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
diagnostics.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
enum.lua chore: migrate to classic (#2991) 2024-11-09 14:14:04 +11:00
events.lua feat: add TreePreOpen event (#3105) 2025-04-21 08:39:48 +10:00
help.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
keymap.lua feat(#3132): add api.node.expand and api.node.collapse (#3133) 2025-06-14 17:26:58 +10:00
legacy.lua feat(#3113): add renderer.icons.folder_arrow_padding (#3114) 2025-05-05 11:51:29 +10:00
lib.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
log.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
notify.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
utils.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
view.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
watcher.lua docs: notify users with a fs.inotify.max_user_watches message on EMFILE event (#3028) 2024-12-13 10:39:46 +11:00