mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:20:05 +08:00
perf(git): open remote branch log in new tab
This commit is contained in:
parent
8077f78d13
commit
b2651ab24a
@ -145,7 +145,7 @@ end
|
||||
local function view_git_log()
|
||||
local cursor_info = get_cursor_info()
|
||||
if cursor_info.branch then
|
||||
log.debug('run command:' .. 'Git log ' .. cursor_info.branch)
|
||||
log.debug('run command:' .. 'tabnew | Git log ' .. cursor_info.branch)
|
||||
vim.api.nvim_command('Git log ' .. cursor_info.branch)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user