From f9b285d7eda8b3bf9a23c3d25443e7e7568bec29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 6 Jan 2024 01:50:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(nvim):=20cspell=20extra=20no?= =?UTF-8?q?t=20taking=20self=20as=20first=20function=20argument?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/linting/cspell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, },