nvim-tree / nvim-tree/nvim-tree.lua
Partial Collapse
Open
Nobody has claimed this yet.
API
feature request
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
#2112
Method to recursively collapse a partial tree up to the root level folder.
As per collapse_all but within one sub-tree.
Recursively collapse a node. As per open.edit on an open node however also recursively collapses contents.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing collapse_all behavior and the open.edit operation referenced in the issue. Implement recursive collapsing for a selected node and its contents without affecting other subtrees, then verify that the selected subtree reaches its root-level collapsed state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100