diff --git a/.config/nvim/lua/plugins/extras/linting/cspell.lua b/.config/nvim/lua/plugins/extras/linting/cspell.lua index e0e9e295..46e1b47a 100644 --- a/.config/nvim/lua/plugins/extras/linting/cspell.lua +++ b/.config/nvim/lua/plugins/extras/linting/cspell.lua @@ -6,7 +6,7 @@ return { }, linters = { cspell = { - condition = function(self, ctx) + condition = function(ctx) return vim.fs.find({ "cspell.json" }, { path = ctx.filename, upward = true })[1] end, },