aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2023-01-27 07:46:26 +0000
committergithub-actions <github-actions@github.com>2023-01-27 07:46:26 +0000
commit1393aaca8a59a9ce586ed55770b3a02155a56ac2 (patch)
tree30a7e46613a0b64e0da4f198828c54cb365c5327
parentdocs(ltex): add settings example (#2421) (diff)
downloadnvim-lspconfig-1393aaca8a59a9ce586ed55770b3a02155a56ac2.tar
nvim-lspconfig-1393aaca8a59a9ce586ed55770b3a02155a56ac2.tar.gz
nvim-lspconfig-1393aaca8a59a9ce586ed55770b3a02155a56ac2.tar.bz2
nvim-lspconfig-1393aaca8a59a9ce586ed55770b3a02155a56ac2.tar.lz
nvim-lspconfig-1393aaca8a59a9ce586ed55770b3a02155a56ac2.tar.xz
nvim-lspconfig-1393aaca8a59a9ce586ed55770b3a02155a56ac2.tar.zst
nvim-lspconfig-1393aaca8a59a9ce586ed55770b3a02155a56ac2.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md10
-rw-r--r--doc/server_configurations.txt10
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index ae766d21..9d5de4ae 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -4148,6 +4148,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
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index ae766d21..9d5de4ae 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -4148,6 +4148,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