feat(git): :Glog command, per-module setup, plugin/ auto-init

This commit is contained in:
2026-04-30 15:05:47 +02:00
parent 282ec2602d
commit 217390cfa4
9 changed files with 153 additions and 108 deletions
+11
View File
@@ -363,4 +363,15 @@ function M.open_under_cursor()
return false
end
function M.setup()
local group = vim.api.nvim_create_augroup("ow.git.object", { clear = true })
vim.api.nvim_create_autocmd("BufReadCmd", {
pattern = "git://*",
group = group,
callback = function(args)
M.read_uri(args.buf)
end,
})
end
return M