grammar support for spellecehcker
This commit is contained in:
12
init.lua
12
init.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user