emacs-grammarly / unofficial-grammarly-language-server

Unofficial Grammarly extension
https://www.npmjs.com/package/@emacs-grammarly/unofficial-grammarly-language-server
MIT License
21 stars 3 forks source link

How should I login my premium account? #2

Closed Troublor closed 2 years ago

Troublor commented 2 years ago

I am using this Grammarly language server in neovim. The LSP works out of the box as an anonymous user to Grammarly. But I have a premium account and I want to use those premium features. How should I login to my account using the Grammarly language server?

jcs090218 commented 2 years ago

The login logic has to be stored in the client side. You might need to ask whoever implements the client to handle this feature.

Extra information:

See the document Using a Paid Grammarly Account. It's easier to login with VSCode. Or for the harder route (if you don't want to use VSCode), you would need to enter authentication information directly using keytar-cli.

Hope these help! :)

Troublor commented 2 years ago

Thanks. I am using NeoVIm, and it seems nvim-lspconfig does not provide similar guidelines to those in Emacs. Maybe I can ask them there or do some hacking in Lua following the implementation of Emacs or VSCode.