fix(lsp): ltex_plus → ltex_ls_plus
- Naming conflicts with lspconfig: the `filetypes` field was overwritten by lspconfig.
This commit is contained in:
parent
44be63bc2e
commit
031e7694a5
@ -31,6 +31,18 @@ return {
|
|||||||
single_file_support = true,
|
single_file_support = true,
|
||||||
settings = {
|
settings = {
|
||||||
ltex = {
|
ltex = {
|
||||||
|
enabled = {
|
||||||
|
'markdown',
|
||||||
|
'pandoc',
|
||||||
|
'latex',
|
||||||
|
'text',
|
||||||
|
'norg',
|
||||||
|
'gitcommit',
|
||||||
|
'jj',
|
||||||
|
'jjdescription',
|
||||||
|
'rst',
|
||||||
|
'typst'
|
||||||
|
},
|
||||||
language = "auto",
|
language = "auto",
|
||||||
diagnosticSeverity = "information",
|
diagnosticSeverity = "information",
|
||||||
checkFrequency = "save",
|
checkFrequency = "save",
|
@ -163,4 +163,4 @@ end
|
|||||||
setup_godot_dap()
|
setup_godot_dap()
|
||||||
|
|
||||||
vim.diagnostic.config({ virtual_text = true })
|
vim.diagnostic.config({ virtual_text = true })
|
||||||
vim.lsp.enable({ "ltex_plus", "rust-analyzer", "gdscript" })
|
vim.lsp.enable({ "ltex_ls_plus", "rust-analyzer", "gdscript" })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user