From af0eaee01737d26314c9c3618153e99d1eb3e2f1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 1 Jun 2021 18:17:40 +0200 Subject: Update --- ftplugin/git.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/git.vim') diff --git a/ftplugin/git.vim b/ftplugin/git.vim index 072859ed..9a5ac16c 100644 --- a/ftplugin/git.vim +++ b/ftplugin/git.vim @@ -37,7 +37,7 @@ if exists('*shellescape') && exists('b:git_dir') && b:git_dir != '' else setlocal keywordprg=git\ show endif -if has('gui_running') +if has('gui_running') && &guioptions !~# '!' let &l:keywordprg = substitute(&l:keywordprg,'^git\>','git --no-pager','') endif -- cgit v1.2.3