🐛 fix(nvim): cspell extra not taking self as first function argument
This commit is contained in:
parent
ec07c7b6bb
commit
f9b285d7ed
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ return {
|
||||||
},
|
},
|
||||||
linters = {
|
linters = {
|
||||||
cspell = {
|
cspell = {
|
||||||
condition = function(self, ctx)
|
condition = function(ctx)
|
||||||
return vim.fs.find({ "cspell.json" }, { path = ctx.filename, upward = true })[1]
|
return vim.fs.find({ "cspell.json" }, { path = ctx.filename, upward = true })[1]
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue