AutoYADM commit: 2024-11-19 17:00:02

This commit is contained in:
Daniel Fichtinger 2024-11-19 17:00:02 -05:00
parent 0f8dbf7f8a
commit 51f3f4e7b6
2 changed files with 15 additions and 7 deletions

View file

@ -68,7 +68,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
end
end, { desc = "Continue List", silent = true, remap = true })
vim.opt_local.wrap = true
vim.opt_local.spell = true
-- vim.opt_local.spell = true
-- local secondary = "#379393"
-- local primary = "#933737"
local colorbuddy = require("colorbuddy")

View file

@ -6,7 +6,7 @@ local extraOpts = {
"en-CA",
},
path = vim.fn.expand("~") .. "/.local/share/ltex",
-- log_level = "warn",
log_level = "warn",
}
return {
{
@ -23,6 +23,7 @@ return {
end,
settings = {
ltex = {
completionEnabled = true,
language = { "en", "en-US", "en-CA" },
enabled = {
"latex",
@ -31,13 +32,20 @@ return {
"md",
"markdown",
},
checkFrequency = { "save" },
markdown = {
nodes = {
CodeBlock = "ignore",
FencedCodeBlock = "ignore",
AutoLink = "dummy",
Code = "dummy",
},
},
checkFrequency = { "edit" },
diagnosticSeverity = "information",
sentencetCacheSize = 5000,
-- additionalRules = {
-- enablePickyRules = true,
-- motherTongue = "en",
-- },
additionalRules = {
enablePickyRules = true,
},
},
},
},