From 870f8fee96e1deae6ef48614045ff2badf08b877 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 23 Feb 2024 13:32:10 +0800 Subject: [PATCH] fix(git): fix git log command --- bundle/git.vim/lua/git/ui/remote.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/git.vim/lua/git/ui/remote.lua b/bundle/git.vim/lua/git/ui/remote.lua index b25c4f032..e170b2614 100644 --- a/bundle/git.vim/lua/git/ui/remote.lua +++ b/bundle/git.vim/lua/git/ui/remote.lua @@ -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