Skip to content
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

Problem using lsp-grammarly #55

Open
MathieuDutSik opened this issue Jun 28, 2023 · 1 comment
Open

Problem using lsp-grammarly #55

MathieuDutSik opened this issue Jun 28, 2023 · 1 comment
Labels
question Further information is requested

Comments

@MathieuDutSik
Copy link
Contributor

I have the following issues with the lsp-grammarly:

  • 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. What I would like is to edit program files in Python, C++, etc., and check the syntax of their comments.
  • 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.
  • 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?

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
Copy link
Member

  • 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 #44 (comment).

  • 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 znck/grammarly#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. ;)

@jcs090218 jcs090218 added the question Further information is requested label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants