Fix error when vim-signify is not installed (#39)

This commit is contained in:
Junegunn Choi
2014-07-26 23:50:54 +09:00
parent e2c59124cb
commit da67185e4a
2 changed files with 6 additions and 3 deletions

View File

@@ -48,8 +48,9 @@ Configuration
By default, [vim-airline](https://github.com/bling/vim-airline),
[vim-powerline](https://github.com/Lokaltog/vim-powerline),
[powerline](https://github.com/Lokaltog/powerline),
[lightline.vim](https://github.com/itchyny/lightline.vim), and
[vim-gitgutter](https://github.com/airblade/vim-gitgutter) are temporarily
[lightline.vim](https://github.com/itchyny/lightline.vim),
[vim-signify](https://github.com/mhinz/vim-signify),
and [vim-gitgutter](https://github.com/airblade/vim-gitgutter) are temporarily
disabled while in Goyo mode.
If you have other plugins that you want to disable/enable, or if you want to

View File

@@ -286,7 +286,9 @@ function! s:goyo_off()
endif
if goyo_disabled_signify
silent! if !(b:sy.active)|SignifyToggle|endif
silent! if !b:sy.active
SignifyToggle
endif
endif
if goyo_disabled_airline && !exists("#airline")