From d3f6f0d4c58ab68b94fbd934db55f5b9cbcae7f1 Mon Sep 17 00:00:00 2001 From: Brian Di Palma <1597820+briandipalma@users.noreply.github.com> Date: Fri, 27 Jan 2023 07:46:08 +0000 Subject: docs(ltex): add settings example (#2421) --- lua/lspconfig/server_configurations/ltex.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua') 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 -- cgit v1.2.3-70-g09d2