I like to use writegood-mode for my source code comments. I feel that there should be a way to make it check comments only. However, my python files display that kind of things:
and so does bash mode:
How can I setup writegood-mode to check only comments, or what are alternatives for style checking my comments?
C-h f
for functions andC-h v
for variables. Write the namespace prefix,writegood
, and press<TAB>
. This will bring up all the exposed options. If there's one which seems promising, read the internal documentation on it. If nothing looks good, then your next step would be to look at the source code. There's a link to that in everywritegood
doc page. Maybe the author has internal functions you could use.writegood-duplicates-turn-off
, which is what erroneously highlight in my screenshots above, but it would be nice to leave on for comments.