diagnostics/nvim-lint: fix invalid setup table call

This commit is contained in:
raf 2025-03-17 11:46:33 +03:00
commit bc978c4fad
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 15 additions and 17 deletions

View file

@ -13,7 +13,7 @@ in {
vim = {
startPlugins = ["nvim-lint"];
pluginRC.nvim-lint = entryAnywhere ''
require("lint").setup(${toLuaObject cfg.setupOpts})
require("lint").linters_by_ft(${toLuaObject cfg.linters_by_ft})
'';
};
};