Skip to content

Commit

Permalink
fix(nvim): args to vim.cmd.Git
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jan 4, 2024
1 parent f75aca2 commit 4d0d465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/neovim/config/lua/user/fugitive.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ vim.api.nvim_create_autocmd("BufWinEnter", {
end, "Git push")

keymap("<leader>P", function()
vim.cmd.Git({ "pull", "--rebase" })
vim.cmd.Git("pull --rebase")
end, "Git pull --rebase")

keymap("<leader>t", function()
vim.cmd.Git({ "push", "-u", "origin" })
vim.cmd.Git("push -u origin")
end, "Git push tracking origin")

keymap("<leader>o", function()
Expand Down

0 comments on commit 4d0d465

Please sign in to comment.