nvim: update lspconfig and enable ltex-ls-plus server

This commit is contained in:
Primrose 2025-02-20 14:18:06 +01:00
parent 0736bb36b1
commit 542558f036
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 14 additions and 3 deletions

View file

@ -17,7 +17,7 @@ local servers = {
pyright = {},
taplo = {}, -- TOML
texlab = {}, -- texlab
tsserver = {}, -- TypeScript
ts_ls = {}, -- TypeScript
vimls = {}, -- Vim Script
ocamllsp = {}, -- OCaml
gleam = {}, -- Gleam
@ -28,6 +28,18 @@ local servers = {
-- -- fix this, it shows spamming message on top
-- golangci_lint_ls = {},
ltex_plus = {
settings = {
ltex = {
language = "fr-FR",
disabledRules = {
["fr-FR"] = { "FRENCH_WHITESPACE", "COMMA_PARENTHESIS_WHITESPACE" },
},
languageToolHttpServerUri = "http://localhost:8081",
},
},
},
fish_lsp = {},
bashls = { -- Bash