diff --git a/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua b/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua index 8895e7d..afb13da 100644 --- a/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua +++ b/symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua @@ -62,6 +62,10 @@ require("lint").linters_by_ft = { gdscript = { "gdlint" }, } +local codespell_config = require("lint").linters.codespell +table.insert(codespell_config.args, 0, "crate") +table.insert(codespell_config.args, 0, "-L") + require("lint").linters.misspell = { name = "Misspell", stdin = true,