This commit is contained in:
2024-06-23 16:38:30 -04:00
parent cebe5c5726
commit e00b3be63f

View File

@@ -917,5 +917,5 @@ vim.api.nvim_create_user_command('Wex', function()
vim.cmd 'Oil'
end, {})
vim.api.nvim_create_user_command('G', function(opts)
vim.cmd('!' .. 'git ' .. table.concat(opts.fargs, ' '))
vim.cmd('silent! !' .. 'git ' .. table.concat(opts.fargs, ' '))
end, { nargs = '+' })