Skip to content

Lines with wikilinks are cut off #405

Closed as duplicate
Closed as duplicate

Description

@alloc33

How can I fix (or configure the plugin correctly) so that the lines with wikilinks are not cut off like this?

Cursor is on the line with the link
Image

Cursor is on another line
Image

Activity

  1. ABlueDruid commented on Apr 21, 2025

    @ABlueDruid

    Try to unwrap the lines neovim --> :set nowrap. That should fix this.

    If not then it is kind of a bug ig.

  2. alloc33 commented on Apr 22, 2025

    @alloc33
    Author

    Try to unwrap the lines neovim --> :set nowrap. That should fix this.

    If not then it is kind of a bug ig.

    Now if my buffer width is 50px I have to scroll right to get to the end of the sentence :)

  3. MeanderingProgrammer commented on Apr 22, 2025

    @MeanderingProgrammer
    Owner

    There's no a way to do it, though setting nowrap for markdown buffers is one way to avoid the issue.

    The root cause is the same as this: #82, which is the most common issue I get. You can go to the issue in neovim core that's linked there if you want more details.

    There's basically no way to shift text up a line by using concealing, with wrap enabled a line will always take up the same number of physical rows and text will always appear on the same row, concealing only shifts text horizontally.

    If anyone ever finds a way to fix this with actual code examples please LMK, otherwise it kind of is what it is, I've spent a fair amount of time trying things out and gotten nowhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions