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

Handling of sentence ending #23

Open
tschijnmo opened this issue Nov 21, 2016 · 2 comments
Open

Handling of sentence ending #23

tschijnmo opened this issue Nov 21, 2016 · 2 comments
Assignees

Comments

@tschijnmo
Copy link

Thank you for such an awesome tool! It satisfies basically all my need. But there might be a small problem with the space after a sentence ending. In both vim gq and emacs fill-paragraph, two spaces are automatically added after a sentence. For instance,

A sentence.
Another one.

would be wrapped into

A sentence.**Another one.

where *s are used emphasize spaces. It would be great if WrapToColumn could add support for this. This could make the plugin more vim/emacs-like and could be a great help for code bases with consistency requirement on this. For instance, Python PEP8 recommends this style of sentence spacing and it is used throughout its official code base.

@abrookins
Copy link
Owner

I favor a single space between sentences, but I agree that a configuration option would be useful! I'll add this when I have time again. Thank you!

@tschijnmo
Copy link
Author

@abrookins Actually I am not in favor of double spacing either. Just in same cases the code base has consistency requirement and this can be an issue. Thank you!

@abrookins abrookins self-assigned this Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants