diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-12-07 13:10:51 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-12-07 13:10:51 +0000 |
| commit | 47f236c058f0511702286a21ba53bbf42abbd8a8 (patch) | |
| tree | 5cf11bdf0804378dc22324db1a4123e4d644bb24 | |
| parent | feat: ltex-ls-plus #3442 (diff) | |
| download | nvim-lspconfig-47f236c058f0511702286a21ba53bbf42abbd8a8.tar nvim-lspconfig-47f236c058f0511702286a21ba53bbf42abbd8a8.tar.gz nvim-lspconfig-47f236c058f0511702286a21ba53bbf42abbd8a8.tar.bz2 nvim-lspconfig-47f236c058f0511702286a21ba53bbf42abbd8a8.tar.lz nvim-lspconfig-47f236c058f0511702286a21ba53bbf42abbd8a8.tar.xz nvim-lspconfig-47f236c058f0511702286a21ba53bbf42abbd8a8.tar.zst nvim-lspconfig-47f236c058f0511702286a21ba53bbf42abbd8a8.zip | |
docs: update configs.md
skip-checks: true
| -rw-r--r-- | doc/configs.md | 52 | ||||
| -rw-r--r-- | doc/configs.txt | 52 |
2 files changed, 104 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md index 2cfc766c..b97164d2 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -160,6 +160,7 @@ Nvim by running `:help lspconfig-all`. - [lexical](#lexical) - [lsp_ai](#lsp_ai) - [ltex](#ltex) +- [ltex_plus](#ltex_plus) - [lua_ls](#lua_ls) - [luau_lsp](#luau_lsp) - [lwc_ls](#lwc_ls) @@ -5643,6 +5644,57 @@ Default config: - `single_file_support` : `true` +## ltex_plus + +https://github.com/ltex-plus/ltex-ls-plus + +LTeX Language Server: LSP language server for LanguageTool 🔍✔️ with support for LaTeX 🎓, Markdown 📝, and others + +To install, download the latest [release](https://github.com/ltex-plus/ltex-ls-plus) and ensure `ltex-ls-plus` 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 +vim.cmd [[ autocmd BufRead,BufNewFile *.org set filetype=org ]] +``` + +Snippet to enable the language server: +```lua +require'lspconfig'.ltex_plus.setup{} +``` + +Default config: +- `cmd` : + ```lua + { "ltex-ls-plus" } + ``` +- `filetypes` : + ```lua + { "bib", "context", "gitcommit", "html", "markdown", "org", "pandoc", "plaintex", "quarto", "mail", "mdx", "rmd", "rnoweb", "rst", "tex", "text", "typst", "xhtml" } + ``` +- `get_language_id` source (use "gF" to visit): [../lua/lspconfig/configs/ltex_plus.lua:18](../lua/lspconfig/configs/ltex_plus.lua#L18) +- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/ltex_plus.lua:18](../lua/lspconfig/configs/ltex_plus.lua#L18) +- `settings` : + ```lua + { + ltex = { + enabled = { "bib", "context", "gitcommit", "html", "markdown", "org", "pandoc", "plaintex", "quarto", "mail", "mdx", "rmd", "rnoweb", "rst", "tex", "text", "typst", "xhtml" } + } + } + ``` +- `single_file_support` : `true` + + ## lua_ls https://github.com/luals/lua-language-server diff --git a/doc/configs.txt b/doc/configs.txt index 2cfc766c..b97164d2 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -160,6 +160,7 @@ Nvim by running `:help lspconfig-all`. - [lexical](#lexical) - [lsp_ai](#lsp_ai) - [ltex](#ltex) +- [ltex_plus](#ltex_plus) - [lua_ls](#lua_ls) - [luau_lsp](#luau_lsp) - [lwc_ls](#lwc_ls) @@ -5643,6 +5644,57 @@ Default config: - `single_file_support` : `true` +## ltex_plus + +https://github.com/ltex-plus/ltex-ls-plus + +LTeX Language Server: LSP language server for LanguageTool 🔍✔️ with support for LaTeX 🎓, Markdown 📝, and others + +To install, download the latest [release](https://github.com/ltex-plus/ltex-ls-plus) and ensure `ltex-ls-plus` 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 +vim.cmd [[ autocmd BufRead,BufNewFile *.org set filetype=org ]] +``` + +Snippet to enable the language server: +```lua +require'lspconfig'.ltex_plus.setup{} +``` + +Default config: +- `cmd` : + ```lua + { "ltex-ls-plus" } + ``` +- `filetypes` : + ```lua + { "bib", "context", "gitcommit", "html", "markdown", "org", "pandoc", "plaintex", "quarto", "mail", "mdx", "rmd", "rnoweb", "rst", "tex", "text", "typst", "xhtml" } + ``` +- `get_language_id` source (use "gF" to visit): [../lua/lspconfig/configs/ltex_plus.lua:18](../lua/lspconfig/configs/ltex_plus.lua#L18) +- `root_dir` source (use "gF" to visit): [../lua/lspconfig/configs/ltex_plus.lua:18](../lua/lspconfig/configs/ltex_plus.lua#L18) +- `settings` : + ```lua + { + ltex = { + enabled = { "bib", "context", "gitcommit", "html", "markdown", "org", "pandoc", "plaintex", "quarto", "mail", "mdx", "rmd", "rnoweb", "rst", "tex", "text", "typst", "xhtml" } + } + } + ``` +- `single_file_support` : `true` + + ## lua_ls https://github.com/luals/lua-language-server |
