diff options
Diffstat (limited to 'ftplugin/git.vim')
-rw-r--r-- | ftplugin/git.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |