Skip to content

fix: enable text wrapping with image_support#212

Merged
kawre merged 1 commit intokawre:masterfrom
Sharmaharshitnone:fix/enable-wrap-with-image-support
Apr 28, 2026
Merged

fix: enable text wrapping with image_support#212
kawre merged 1 commit intokawre:masterfrom
Sharmaharshitnone:fix/enable-wrap-with-image-support

Conversation

@Sharmaharshitnone
Copy link
Copy Markdown
Contributor

See commit message

Previously, text wrapping was disabled when image_support=true due to
rendering bugs in image.nvim. This was fixed in image.nvim v1.4.0
(3rd/image.nvim#266) which rewrote the renderer to use vim.fn.screenpos().

Changes:
- lua/leetcode-ui/split/description.lua: Always enable wrapping
- README.md: Update documentation to reflect fix and version requirement

Closes: kawre#58 (wrapping issue)
Ref: 3rd/image.nvim#62, 3rd/image.nvim#266
@Sharmaharshitnone
Copy link
Copy Markdown
Contributor Author

@kawre text wrapping was fixed in image.nvim, so it would be good to enable support for it.

@semi710
Copy link
Copy Markdown

semi710 commented Mar 16, 2026

@Sharmaharshitnone does this work with snacks.nvim also?

@kawre
Copy link
Copy Markdown
Owner

kawre commented Apr 28, 2026

thanks

@kawre kawre merged commit 8416a0c into kawre:master Apr 28, 2026
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