feat: cli

This commit is contained in:
Barrett Ruth 2026-03-28 00:24:26 -04:00
parent a51dc43de7
commit 5fcbcfcf99
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81
8 changed files with 1727 additions and 1019 deletions

View file

@ -42,6 +42,17 @@ function M.check()
else
vim.health.info('vim-fugitive not found (fugitive keymaps disabled)')
end
local forge_mod = require('forge')
for name, source in pairs(forge_mod.registered_sources()) do
if name ~= 'github' and name ~= 'gitlab' and name ~= 'codeberg' then
if vim.fn.executable(source.cli) == 1 then
vim.health.ok(source.cli .. ' found (custom: ' .. name .. ')')
else
vim.health.warn(source.cli .. ' not found (custom: ' .. name .. ' disabled)')
end
end
end
end
return M