nvim-tree.lua/lua/nvim-tree/actions/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
..
modifiers 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
find-file.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
init.lua chore(#2931): stylua -> EmmyLuaCodeStyle (#2932) 2024-09-29 14:05:52 +10:00
open.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
resize.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00
toggle.lua revert(#3180, #3177): resolve live filter failures (#3183) 2025-08-10 14:45:25 +10:00