Skip to content

Tips on improving slow, laggy input mode with long soft-wrapped lines #257

@hgvhgv

Description

@hgvhgv

I recently switched to using soft wrapping for my main markdown writing and noticed that typing in input mode at certain points is pretty laggy, especially with very long lines (more than 2000 columns). Turning :syn off fixes the issue as does reformatting with hard line breaks, so it is related to both vim-pandoc-syntax and the long lines. There have been other reports of such slowness here (e.g., related to tables #137).

I'm playing around with other ways to accomplish what I like about soft wrapping with hard wrapped lines (mostly: searching across what would be hard-wrapped lines), but in the meantime: Does anyone have any tips about improving the syntax lag time in input mode with long lines? I've tried futzing with syncolmax, syn sync minlines, and syn sync maxlines without any success.

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