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

@@ -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")