Skip to content

Posts don't soft-wrap at window edge #34

@couladin

Description

@couladin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions