mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:50:06 +08:00
fix(git): fix git log command
This commit is contained in:
parent
b2651ab24a
commit
870f8fee96
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user