Skip to content

Commit 946cf29

Browse files
committed
feat(nvim): git notifications
1 parent 584cc23 commit 946cf29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/neovim/config/after/ftplugin/fugitive.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,19 @@ vim.cmd("normal )k=")
3333
vim.keymap.set("n", "gp", function()
3434
async_git({ "push", "--quiet" }, "Pushed!", "Push failed!")
3535
vim.cmd("silent! close")
36+
vim.notify("Pushing...")
3637
end, opts)
3738

3839
vim.keymap.set("n", "gP", function()
3940
async_git({ "pull", "--rebase" }, "Pulled!", "Pull failed!")
4041
vim.cmd("silent! close")
42+
vim.notify("Pulling...")
4143
end, opts)
4244

4345
vim.keymap.set("n", "go", function()
4446
async_git({ "ppr" }, "Pushed and opened PR URL!", "Failed to push or open PR")
4547
vim.cmd("silent! close")
48+
vim.notify("Opening PR...")
4649
end, opts)
4750

4851
vim.keymap.set("n", "gq", function()

0 commit comments

Comments
 (0)