emacs-grammarly / lsp-grammarly

lsp-mode ❤️ grammarly
GNU General Public License v3.0
192 stars 11 forks source link

Problem using lsp-grammarly #55

Open MathieuDutSik opened 1 year ago

MathieuDutSik commented 1 year ago

I have the following issues with the lsp-grammarly:

Thank you very much in advance for your help. I think those questions are of fairly general interest and I would appreciate any help.

jcs090218 commented 1 year ago
  • When opening a file with emacs Report nothing is done while when doing emacs Report.txt then the behavior is different. Apparently the files with extension .md and .txt are done with Grammarly while the others are not. How can this be parameterized? If it is something outside of lsp-grammarly then it would be helpful to have a link explaining that aspect.

Maybe this thread would help #44, see https://github.com/emacs-grammarly/lsp-grammarly/issues/44#issuecomment-1271312145.

  • When opening emacs Report.txt I obtain the error Unable to find installed server supporting this file. The following servers could be installed automatically:. Same as before, if it is something outside lsp-grammarly control, then a link would be helpful.

Maybe the lsp-mode's page will be helpful? See https://emacs-lsp.github.io/lsp-mode/page/lsp-grammarly/. 🤔

  • The objective would be for me to have a program in Python, C++, Rust, etc., and to have an LSP applied to the code and Grammarly on the comments. Is it possible?

This is currently not support by the language server, so no, this is not possible at the moment. See https://github.com/znck/grammarly/issues/291.

Thank you very much in advance for your help. I think those questions are of fairly general interest and I would appreciate any help.

Yeah, sorry about the confusion. 😓 Emacs has a very steep learning curve, and I should add more documentation for beginners. But for experienced Emacs users, it should be fairly easy since it's a standard lsp-mode extension. ;)