diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-01 18:17:40 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-01 18:17:40 +0200 |
commit | af0eaee01737d26314c9c3618153e99d1eb3e2f1 (patch) | |
tree | e45903bbc85886dcb6568c1f3c3f867b2649f2ca /ftplugin/git.vim | |
parent | 730dcb02caab60a6ae5d8b4bdc16d290041061ec (diff) | |
download | vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.tar.gz vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.zip |
Update
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 |