Skip to content

Make formatting with gq respect headings #211

Description

@matrdr

When you try to format your whole document with gq it usually happens that the heading and the text from the next line get joined into one line. This is because the text usually starts directly in the line after the heading instead of using a blank line in between.

The following StackExchange issue has a neat and simple solution for this: https://vi.stackexchange.com/a/6034/40145

Maybe this could be implemented to this script. Maybe it is also too hacky / too much of a workaround for being in this official script. I would also understand that argumentation.

Activity

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