fix(nvim-lint): check on linter name instead of linter. Fixes #1685
This commit is contained in:
@ -27,7 +27,7 @@ return {
|
||||
|
||||
local lint = require("lint")
|
||||
for name, linter in pairs(opts.linters) do
|
||||
if type(linter) == "table" and type(lint.linters) == "table" then
|
||||
if type(linter) == "table" and type(lint.linters[name]) == "table" then
|
||||
lint.linters[name] = vim.tbl_deep_extend("force", lint.linters[name], linter)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user