mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 01:08:59 +02:00
fix(nvim-lint): make sure to set custom linters. Fixes #1687
This commit is contained in:
parent
cdae38ddd4
commit
8e71968c2b
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ return {
|
|||
for name, linter in pairs(opts.linters) do
|
||||
if type(linter) == "table" and type(lint.linters[name]) == "table" then
|
||||
lint.linters[name] = vim.tbl_deep_extend("force", lint.linters[name], linter)
|
||||
else
|
||||
lint.linters[name] = linter
|
||||
end
|
||||
end
|
||||
lint.linters_by_ft = opts.linters_by_ft
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue