Skip to content

eglot grammarly support #693

Answered by joaotavora
HumHongeKamyaab asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know grammarly, but if it's a LSP server, it should be supported without the need for this extra package, which seems like a reasonably useless piece of elisp to me.

https://github.com/emacs-grammarly/eglot-grammarly/blob/master/eglot-grammarly.el

Apparently you just need:

(add-to-list 'eglot-server-programs
             ((text-mode markdown-mode whatever-mode) . "@emacs-grammarly/unofficial-grammarly-language-server"))

And then you need to create a .dir-locals according to the README in https://github.com/emacs-grammarly/eglot-grammarly

My advice is not to follow any other advice in that README like that use-package line with call-interactively.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by skangas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #692 on May 11, 2021 08:18.