fix(git): rename log to log_view
This commit is contained in:
+1
-1
@@ -251,5 +251,5 @@ vim.keymap.set("n", "<leader>ga", function()
|
|||||||
require("git.commit").commit({ amend = true })
|
require("git.commit").commit({ amend = true })
|
||||||
end)
|
end)
|
||||||
vim.keymap.set("n", "<leader>gl", function()
|
vim.keymap.set("n", "<leader>gl", function()
|
||||||
require("git.log").open({ max_count = 1000 })
|
require('git.log_view').open({ max_count = 1000 })
|
||||||
end)
|
end)
|
||||||
|
|||||||
+3
-3
@@ -79,15 +79,15 @@ function M.init()
|
|||||||
pattern = "gitlog://*",
|
pattern = "gitlog://*",
|
||||||
group = group,
|
group = group,
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
require("git.log").read_uri(args.buf)
|
require("git.log_view").read_uri(args.buf)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
vim.api.nvim_create_user_command("Glog", function(opts)
|
vim.api.nvim_create_user_command("Glog", function(opts)
|
||||||
require("git.log").run_glog(opts)
|
require("git.log_view").run_glog(opts)
|
||||||
end, {
|
end, {
|
||||||
nargs = "*",
|
nargs = "*",
|
||||||
complete = function(...)
|
complete = function(...)
|
||||||
return require("git.log").complete_glog(...)
|
return require("git.log_view").complete_glog(...)
|
||||||
end,
|
end,
|
||||||
desc = "Show git log",
|
desc = "Show git log",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user