mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:40:05 +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()
|
local cursor_info = get_cursor_info()
|
||||||
if cursor_info.branch then
|
if cursor_info.branch then
|
||||||
log.debug('run command:' .. 'tabnew | Git log ' .. cursor_info.branch)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user