-
Notifications
You must be signed in to change notification settings - Fork 86
Description
The following would be nice to have as an option: only wrap long lines, but do not join two subsequent sentences into one line.
For example:
This is a first sentence.
This is another long sentence, which should not be joined to the
previous one.
Having each sentence on its own line(s) makes it easier to visualize changes in text with git diff.
Otherwise, one small change in a long paragraph may cause many lines to be affected due to rewrapping of subsequent sentences, which makes the git diff output harder to process.
The each-sentence-on-its-own-line convention is something I got used to by working on LaTeX projects in Git, but it is such a nice improvement over rewrapping (manual or automatic), that I started using it in docstrings and markdown files as well.
I can imagine this would not be the preferred convention for everyone, but I would certainly use it, if it were an option.