Skip to content

feat(ui/inline): allow deleted-line overlay to scroll horizontally#371

Merged
esmuellert merged 2 commits into
esmuellert:mainfrom
joshuali925:main
Jun 10, 2026
Merged

feat(ui/inline): allow deleted-line overlay to scroll horizontally#371
esmuellert merged 2 commits into
esmuellert:mainfrom
joshuali925:main

Conversation

@joshuali925

@joshuali925 joshuali925 commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

When running :CodeDiff with inline layout, if the deleted line is very long, it gets truncated and there's no way to scroll horizontally when wrap is off.

I used mini.diff before and horizontal scrolling worked there, so I stole its implementation to support virt_lines_overflow https://github.com/nvim-mini/mini.diff/blob/ab11575a6c147ecfba894d676d0c93e855021d34/lua/mini/diff.lua#L945

similar PR in gitsigns lewis6991/gitsigns.nvim#1544

@esmuellert esmuellert enabled auto-merge May 17, 2026 04:03
@joshuali925

Copy link
Copy Markdown
Contributor Author

@esmuellert could you help to run CI? i merged main branch to try fixing a failed test for windows

@esmuellert esmuellert merged commit ed75d95 into esmuellert:main Jun 10, 2026
13 checks passed
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.

2 participants