-
Notifications
You must be signed in to change notification settings - Fork 32
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
oxford commas #20
Comments
@anarcat, this is an excellent idea. Would you be able to make a pull request? Also, I believe that the two regexes you have listed will be incomplete and unable to match lists consisting of elements of multiple words. Consider these examples:
|
ah, true. how do we resolve that conendrum? i'd be happy to do a PR, but I'm not sure where to begin... pointers in the code? :) i guess i'd need a defcustom for the toggle, is there a list of regex the plugin looks for already? |
Thank you for the package @bnbeckwith. I was just wanted to check if this has been included now. |
if this issue is still open, i would assume not. |
I know this might be controversial, as there are basically two opposing sides of that debate, but I would love it if writegood-mode could (optionally) outline oxford commas (as a) mistake. Depending on the config, this would be marked as an error:
or this:
The former could be matched with this regex:
... according to this answer. The latter would be matched with:
Would you be open to such an extension, provided it's a toggle?
The text was updated successfully, but these errors were encountered: