Files
arti-pack/plugin/arti-pack.lua
T
unkin-agent 46517953e5
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Add arti-pack plugin manager scaffold
- add lua modules for spec parsing, lock state, fs helpers and the installer
- add ArtiPackSync/ArtiPackClean/ArtiPackList commands and help doc
- add headless nvim test harness and specs
- add make test/lint/fmt/pre-commit and patch/minor/major bump targets
- add woodpecker test, lint and pre-commit pipelines
2026-09-08 23:22:15 +10:00

21 lines
621 B
Lua

if vim.g.loaded_arti_pack then
return
end
vim.g.loaded_arti_pack = true
local function arti()
return require('arti-pack')
end
vim.api.nvim_create_user_command('ArtiPackSync', function(cmd)
arti().sync({ force = cmd.bang })
end, { bang = true, desc = 'Install missing arti-pack plugins and update changed tags' })
vim.api.nvim_create_user_command('ArtiPackClean', function()
arti().clean()
end, { desc = 'Remove installed plugins that are no longer in the spec' })
vim.api.nvim_create_user_command('ArtiPackList', function()
arti().list()
end, { desc = 'List configured arti-pack plugins and their state' })