Hans – Public Notes

Use Grammarly Premium with Grammarly LSP in Neovim

Basically, I needed to login via VSCode, then I got it working.

  1. Download / install VSCode (the horror..)
  2. Install the extension Grammarly
  3. Shift-Command-p --> grammarly.login
  4. Follow the login flow
  5. Quit VSCode
  6. Check ls ~/.config/grammarly-languageserver
  7. Copy the folder name, this is your clientID

Configure the LSP like this:

     on_attach = on_attach,
     init_options = { clientId = "<>" }

Getting TypeError: Failed to parse URL ? You may need to run using node v16.40: