This commit is contained in:
2025-08-13 21:46:48 +02:00
commit c3e2e6509b
818 changed files with 54187 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
return {
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"selene",
},
},
},
{
"mfussenegger/nvim-lint",
opts = function(_, opts)
opts.linters_by_ft.lua = opts.linters_by_ft.lua or {}
table.insert(opts.linters_by_ft.lua, "selene")
opts.linters = {
selene = {
condition = function(ctx)
return vim.fs.find({ "selene.toml" }, { path = ctx.filename, upward = true })[1]
end,
},
}
return opts
end,
},
}