Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make formatting with gq respect headings #211

Open
matrdr opened this issue Apr 10, 2024 · 0 comments
Open

Make formatting with gq respect headings #211

matrdr opened this issue Apr 10, 2024 · 0 comments

Comments

@matrdr
Copy link

matrdr commented Apr 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant