Following junegunn's advice, both checks are made together

This commit is contained in:
Kevin MacMartin
2014-07-23 23:12:48 -04:00
parent ae04751e09
commit 27ea8fa731

View File

@@ -147,9 +147,9 @@ function! s:goyo_on(width)
endif
" vim-signify
let t:goyo_disabled_signify = exists("b:sy")
let t:goyo_disabled_signify = exists('b:sy') && b:sy.active
if t:goyo_disabled_signify
if (b:sy.active)|SignifyToggle|endif
SignifyToggle
endif
" vim-airline