AutoYADM commit: 2024-11-19 16:45:02
This commit is contained in:
parent
bfcc83c832
commit
0f8dbf7f8a
2 changed files with 13 additions and 10 deletions
|
@ -1,11 +1,12 @@
|
|||
local extraOpts = {
|
||||
init_check = true,
|
||||
load_langs = {
|
||||
"en",
|
||||
"en-US",
|
||||
"en-CA",
|
||||
},
|
||||
path = vim.fn.expand("~") .. "/.local/share/ltex",
|
||||
log_level = "warn",
|
||||
-- log_level = "warn",
|
||||
}
|
||||
return {
|
||||
{
|
||||
|
@ -17,14 +18,12 @@ return {
|
|||
opts = {
|
||||
servers = {
|
||||
ltex = {
|
||||
on_attach = {
|
||||
function(client, bufnr)
|
||||
require("ltex_extra").setup(extraOpts)
|
||||
end,
|
||||
},
|
||||
on_attach = function(client, bufnr)
|
||||
require("ltex_extra").setup(extraOpts)
|
||||
end,
|
||||
settings = {
|
||||
ltex = {
|
||||
language = "en",
|
||||
language = { "en", "en-US", "en-CA" },
|
||||
enabled = {
|
||||
"latex",
|
||||
"tex",
|
||||
|
@ -32,9 +31,9 @@ return {
|
|||
"md",
|
||||
"markdown",
|
||||
},
|
||||
-- checkFrequency = { "save" },
|
||||
-- diagnosticSeverity = "information",
|
||||
-- sentencetCacheSize = 5000,
|
||||
checkFrequency = { "save" },
|
||||
diagnosticSeverity = "information",
|
||||
sentencetCacheSize = 5000,
|
||||
-- additionalRules = {
|
||||
-- enablePickyRules = true,
|
||||
-- motherTongue = "en",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue