nvimdev / nvimdev/lspsaga.nvim
Keep alignment in diffs regardless of the breadcrumbs bar
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I have the same problem as #1206 with the difference that the bar does not always appear when I move my cursor to the other window. Even if it did I find that workflow really annoying to the point that as much as I like the breadcrumbs functionality I have it disabled. I look at a lot of diffs and 3-way diffs so that is a dealbreaker for me.
Describe the solution you'd like
I don't mind the bar not appearing on all windows (although it would be nice to have the option), the problem is the misalignment. Would it be possible to have the bar go "over" a line so that alignment is preserved regardless of the bar? Or to make sure all lines are shifted up one when the bar is added.
Describe alternatives you've considered
Maybe I can find another plugin just for this but I already use lspsaga, it would be nice if it could get this fixed.
Additional context
I don't have anything to add more than what is shown in the linked issue.
Thank you very much for the great plugin and all the work you do,
Andrea
Contributor guide
No contributing guide indexed for this repository
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 with linked issue #1206 and the breadcrumbs bar behavior in lspsaga.nvim. Reproduce the misalignment in regular and 3-way diffs when the bar appears or is absent; done means diff lines remain aligned without requiring the bar in every window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100