Open johnhamelink opened 3 years ago
Flycheck doesn't do anything smart: it just calls proselint on the whole buffer. If proselint doesn't understand ORG, then there's not much we can do to help it.
@johnhamelink did you make any progress on this? Guessing it should be possible to just write some kind of skip condition for lines beginning with comment prefix #.
@RlckAstley I ended up moving to flymake-vale. Since vale supports org syntax, it didn't take a lot for me to add support to it.
@johnhamelink Ah nice, I might try to finish my pull then see if I like that more
Thank you for taking the time to report an issue and improve Flycheck. This template is for actual bugs you observed. If you have trouble setting up Flycheck, or if you have a question, please use the relevant issue template instead.
Checklist
Bug description
When I open an
org-mode
file with a source block in it, proselint checks the content of the source block as if it was text.Steps to reproduce
Run emacs with the init file below:
Then open the following org-mode file, and look at the flycheck errors list:
Expected behavior
I would expect flycheck to understand that the contents of a source code block is not free-text, and so flycheck should handle the contents of it as it would a buffer.
Screenshots
System configuration
Emacs configuration: