valentjn / ltex-ls

LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
717 stars 33 forks source link

Can we read credentials from a file? #289

Open hmajid2301 opened 7 months ago

hmajid2301 commented 7 months ago

Hi :wave:,

Is there a way we can make it so that instead of setting the username and apikey in the ltext lsp settings. We could instead pass it a file, with the credentials information in it.

 languageToolOrg: {
        username: "/path/to/file",
        apiKey: "/path/to/file",
}

I want to keep all of my dot files in git and this feature would make my life a lot easier, thanks :) .