mastodon.nvim icon indicating copy to clipboard operation
mastodon.nvim copied to clipboard

Posts don't soft-wrap at window edge

Open couladin opened this issue 8 months ago • 0 comments

I believe this is a different issue to #16 (I think that's to do with being able to do something like use Ctrl+Enter to insert newlines to expand a post composition across multiple lines?).

It appears that mastodon.nvim does not soft-wrap long lines to fit within the window in which it's active, causing information to disappear off the edge.

Example using a real post (reference, in case it's useful):

  • In mastodon.nvim, lines 4-5 exceed the window width (not as much of an issue for the URL, but line 5 is a problem): Image

  • In the web client, the long lines soft-wrap: Image

I understand this can be done globally with [no]wrap/vim.opt.wrap, but it would be great if this could be automatic or configurable for mastodon.nvim.

couladin avatar May 05 '25 17:05 couladin