Closed k0nze closed 5 months ago
It is possible to do. I am using my premium account with ltex. you need to configure ltex like so:
M.ltex.languageToolOrg = {
apiKey = "somepassword",
username = "me@example.com",
languageToolHttpServerUrl = "https://api.languagetoolplus.com/v2/",
}
M.ltex.languageToolHttpServerUrl = "https://api.languagetoolplus.com/v2/"
it's a bit hacky and can probably be made simpler, but I it was just something I hacked together.
WARNING: If you have your neovim configs in a public version control like me, be careful not to expose your apikey to the public. you may want to redact your username too.
Perfect! Thank you.
M.ltex.languageToolOrg = { apiKey = "somepassword", username = "me@example.com", languageToolHttpServerUrl = "https://api.languagetoolplus.com/v2/", } M.ltex.languageToolHttpServerUrl = "https://api.languagetoolplus.com/v2/"
I'm also using ltex-ls.nvim
with mason
and lspconfig
. But I don't understand where to put these lines?
I setup
ltex-ls.nvim
usingmason
andlspconfig
and I was wondering if it is possible to connect to a premium LanguageTool premium account?