1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:30:05 +08:00

fix(git): fix git log command

This commit is contained in:
Eric Wong 2024-02-23 13:32:10 +08:00
parent b2651ab24a
commit 870f8fee96

View File

@ -146,7 +146,7 @@ local function view_git_log()
local cursor_info = get_cursor_info()
if cursor_info.branch then
log.debug('run command:' .. 'tabnew | Git log ' .. cursor_info.branch)
vim.api.nvim_command('Git log ' .. cursor_info.branch)
vim.api.nvim_command('tabnew | Git log ' .. cursor_info.branch)
end
end