mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(nvim-lint): check on linter name instead of linter. Fixes #1685
This commit is contained in:
parent
666a69e6e0
commit
cdae38ddd4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue