grammar support for spellecehcker

This commit is contained in:
venus
2026-03-24 22:27:47 -05:00
parent 6659e4a691
commit 44811bbfcd
3 changed files with 13 additions and 0 deletions

View File

@@ -54,6 +54,18 @@ if theme_ok then
matugen.setup()
end
-- grammar support for spellchecker
require('lspconfig').ltex.setup {
filetypes = { "markdown", "text", "tex", "gitcommit" },
settings = {
ltex = {
language = "en-US",
-- You can disable specific rules here if they are too annoying
disabledRules = { ["en-US"] = { "PROPER_NOUN_CAPITALIZATION" } },
},
},
}
-- load lsp and bufferline plugins
require("config.lsp")
-- render bufferline