summaryrefslogtreecommitdiffstats
path: root/ftplugin/git.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
commitaf0eaee01737d26314c9c3618153e99d1eb3e2f1 (patch)
treee45903bbc85886dcb6568c1f3c3f867b2649f2ca /ftplugin/git.vim
parent730dcb02caab60a6ae5d8b4bdc16d290041061ec (diff)
downloadvim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.tar.gz
vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.zip
Update
Diffstat (limited to 'ftplugin/git.vim')
-rw-r--r--ftplugin/git.vim2
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