Skip to content
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

feature request: Way to expand and shrink only a single item #34

Open
1 task done
zachdaniel opened this issue Dec 24, 2024 · 1 comment
Open
1 task done

feature request: Way to expand and shrink only a single item #34

zachdaniel opened this issue Dec 24, 2024 · 1 comment
Labels
enhancement New feature or request P2 Not a priority. PRs welcome

Comments

@zachdaniel
Copy link

Did you check existing requests?

  • I have searched the existing issues

Describe the feature

I'd like a way to expand only a single item instead of all items.

Provide background

My workflow is to expand context around various things I'm working on, and then to edit in place and save. I much prefer to visit one, expand it until I see all the context I need and then make my edits, and collapse it. (ideally remove it, but I'm just beginning to explore the quickfix list and don't know how to remove yet)

What is the significance of this feature?

nice to have

Additional details

No response

@zachdaniel zachdaniel added the enhancement New feature or request label Dec 24, 2024
@stevearc stevearc added the P2 Not a priority. PRs welcome label Dec 24, 2024
@zachdaniel
Copy link
Author

I took a stab at this (haven't written any nvim extension code before) and hit on a few snags and ultimately ran out of time. The primary issue is that the number of lines before/after the cursor is stored in a global "context" as opposed to on a per-line basis. That refactor was a bit much for my very basic Lua skills and nvim knowledge 😓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 Not a priority. PRs welcome
Projects
None yet
Development

No branches or pull requests

2 participants