ltex: more personalized configuration
TODO: add a shortcut for languages Source: https://github.com/vigoux/ltex-ls.nvim
This commit is contained in:
parent
4edd7015ca
commit
bef72fd08d
22
lua/lsp.lua
22
lua/lsp.lua
@ -81,8 +81,26 @@ local servers = {
|
||||
tsserver = {},
|
||||
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
|
||||
texlab = {},
|
||||
ltex = { filetypes = {'markdown', 'latex', 'norg', 'gitcommit'} },
|
||||
|
||||
ltex = {
|
||||
filetypes = {
|
||||
'markdown',
|
||||
'latex',
|
||||
'norg',
|
||||
'gitcommit'
|
||||
},
|
||||
ltex = {
|
||||
language = "auto",
|
||||
diagnosticSeverity = "information",
|
||||
sentenceCacheSize = 2000,
|
||||
additionalRules = {
|
||||
enablePickyRules = true,
|
||||
motherTongue = "fr",
|
||||
},
|
||||
disabledRules = {
|
||||
fr = { "APOS_TYP", "FRENCH_WHITESPACE" }
|
||||
},
|
||||
}
|
||||
},
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
workspace = { checkThirdParty = false },
|
||||
|
Loading…
Reference in New Issue
Block a user