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
end, { desc = "Continue List", silent = true, remap = true }) end, { desc = "Continue List", silent = true, remap = true })
vim.opt_local.wrap = true vim.opt_local.wrap = true
vim.opt_local.spell = true -- vim.opt_local.spell = true
-- local secondary = "#379393" -- local secondary = "#379393"
-- local primary = "#933737" -- local primary = "#933737"
local colorbuddy = require("colorbuddy") local colorbuddy = require("colorbuddy")

View file

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