Hans – Public Notes

Use LanguageTool Premium with LTeX LSP in Neovim

Find your API key here: https://languagetool.org/editor/settings/access-tokens

Install ltex (I'm on a Mac): brew install ltex-ls

require'lspconfig'.ltex.setup{
     on_attach = on_attach,
     settings ={
      ltex = {
        languageToolHttpServerUri='https://api.languagetoolplus.com',
        languageToolOrg = {
          username='<email>',
          apiKey = '<API key>',
        }
      }
    }
 }