aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorBrian Di Palma <1597820+briandipalma@users.noreply.github.com>2023-01-27 07:46:08 +0000
committerGitHub <noreply@github.com>2023-01-27 15:46:08 +0800
commitd3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1 (patch)
treee8cdff01877f0ee7ff812159fd87507900308227 /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1.tar
nvim-lspconfig-d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1.tar.gz
nvim-lspconfig-d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1.tar.bz2
nvim-lspconfig-d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1.tar.lz
nvim-lspconfig-d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1.tar.xz
nvim-lspconfig-d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1.tar.zst
nvim-lspconfig-d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1.zip
docs(ltex): add settings example (#2421)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/ltex.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/ltex.lua b/lua/lspconfig/server_configurations/ltex.lua
index 0aeb3874..ba23836e 100644
--- a/lua/lspconfig/server_configurations/ltex.lua
+++ b/lua/lspconfig/server_configurations/ltex.lua
@@ -37,6 +37,16 @@ LTeX Language Server: LSP language server for LanguageTool 🔍✔️ with suppo
To install, download the latest [release](https://github.com/valentjn/ltex-ls/releases) and ensure `ltex-ls` is on your path.
+This server accepts configuration via the `settings` key.
+
+```lua
+ settings = {
+ ltex = {
+ language = "en-GB",
+ },
+ },
+```
+
To support org files or R sweave, users can define a custom filetype autocommand (or use a plugin which defines these filetypes):
```lua