Skip to content

feat: support collapse a single folder under cursor #3140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

lorentzlasson
Copy link
Contributor

@lorentzlasson lorentzlasson commented May 31, 2025

picking up #2847 and adjusting to latest feedback (#2847 (comment))

@lorentzlasson lorentzlasson marked this pull request as draft May 31, 2025 14:48
@lorentzlasson lorentzlasson force-pushed the collapse_folder branch 2 times, most recently from 4a971bf to 0d7b7a5 Compare May 31, 2025 15:50
@@ -54,4 +70,10 @@ function M.fn(keep_buffers)
utils.focus_node_or_parent(node)
end

---@param keep_buffers boolean | nil
function M.collapse_all(keep_buffers)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this one be deprecated even?

@lorentzlasson lorentzlasson marked this pull request as ready for review May 31, 2025 16:03
@alex-courtis
Copy link
Member

Apologies @lorentzlasson it looks like we have duplicate PRs for the same feature: #3133

That one's near completion, so I'll close this one.

I'd be really grateful for your review on #3133 in case we've missed something.

@lorentzlasson
Copy link
Contributor Author

Apologies @lorentzlasson it looks like we have duplicate PRs for the same feature: #3133

That one's near completion, so I'll close this one.

I'd be really grateful for your review on #3133 in case we've missed something.

ah sorry missed 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants