lsp-grammarly icon indicating copy to clipboard operation
lsp-grammarly copied to clipboard

ignore non-consecutive newlines in org-mode

Open stites opened this issue 2 years ago • 1 comments

This is essentially a request to create a patch for https://github.com/znck/grammarly/issues/188 in org-mode until this issue gets more attention upstream. Given that @znck has their hands full working on the official API for Grammarly (thank you for that -- very excited over here!) I expect that this will be smoother to fix in this repository.

It's worth pointing out that org-mode has richer structure than markdown and possibly it's worth considering giving some special attention to it in this repository (like ignoring property drawers, code blocks, and treating latex as special). It might be worth adding a submodule to account for this.

stites avatar Feb 16 '22 01:02 stites

Sorry for the late reply!

I agreed! I have now switched to the newer server, and it uses the tree-sitter to parse! With that said, we should be able to resolve or at least improve the entire parsing process.

jcs090218 avatar May 30 '22 05:05 jcs090218