diff --git a/init.lua b/init.lua index bb07acb..103277e 100644 --- a/init.lua +++ b/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 diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 927b718..bde2190 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -6,3 +6,4 @@ picoCTF symlinked Openrc dir +Picoctf diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index e4b46dd..506a8b3 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ