feat(health): added health checks to plugins

This commit is contained in:
Folke Lemaitre 2024-11-14 23:47:23 +01:00
parent 14c7875408
commit 1c4c74828f
8 changed files with 110 additions and 1 deletions

View file

@ -309,7 +309,7 @@ function M.write(name, lines)
end
function M._build()
local skip = { "docs" }
local skip = { "docs", "health" }
for file, t in vim.fs.dir("lua/snacks", { depth = 1 }) do
local name = vim.fn.fnamemodify(file, ":t:r")
if t == "file" and not vim.tbl_contains(skip, name) then