From 3481ac43b5f3c07fa3b3463e177b1b106211907d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Fri, 1 Nov 2024 14:12:10 +0100 Subject: [PATCH] Ignore crate for codespell --- symlinks/config/nvim/lua/esensar/lsp/diagnostic.lua | 4 ++++ 1 file changed, 4 insertions(+) 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,