fix(lsp): ltex_plus → ltex_ls_plus

- Naming conflicts with lspconfig: the `filetypes` field was overwritten
  by lspconfig.
This commit is contained in:
Fabrice Mouhartem 2025-04-30 14:42:54 +02:00
parent 44be63bc2e
commit 031e7694a5
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7
2 changed files with 13 additions and 1 deletions

View File

@ -31,6 +31,18 @@ return {
single_file_support = true,
settings = {
ltex = {
enabled = {
'markdown',
'pandoc',
'latex',
'text',
'norg',
'gitcommit',
'jj',
'jjdescription',
'rst',
'typst'
},
language = "auto",
diagnosticSeverity = "information",
checkFrequency = "save",

View File

@ -163,4 +163,4 @@ end
setup_godot_dap()
vim.diagnostic.config({ virtual_text = true })
vim.lsp.enable({ "ltex_plus", "rust-analyzer", "gdscript" })
vim.lsp.enable({ "ltex_ls_plus", "rust-analyzer", "gdscript" })