mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-08 11:23:51 -05:00
Fix error when vim-signify is not installed (#39)
This commit is contained in:
@@ -48,8 +48,9 @@ Configuration
|
|||||||
By default, [vim-airline](https://github.com/bling/vim-airline),
|
By default, [vim-airline](https://github.com/bling/vim-airline),
|
||||||
[vim-powerline](https://github.com/Lokaltog/vim-powerline),
|
[vim-powerline](https://github.com/Lokaltog/vim-powerline),
|
||||||
[powerline](https://github.com/Lokaltog/powerline),
|
[powerline](https://github.com/Lokaltog/powerline),
|
||||||
[lightline.vim](https://github.com/itchyny/lightline.vim), and
|
[lightline.vim](https://github.com/itchyny/lightline.vim),
|
||||||
[vim-gitgutter](https://github.com/airblade/vim-gitgutter) are temporarily
|
[vim-signify](https://github.com/mhinz/vim-signify),
|
||||||
|
and [vim-gitgutter](https://github.com/airblade/vim-gitgutter) are temporarily
|
||||||
disabled while in Goyo mode.
|
disabled while in Goyo mode.
|
||||||
|
|
||||||
If you have other plugins that you want to disable/enable, or if you want to
|
If you have other plugins that you want to disable/enable, or if you want to
|
||||||
|
|||||||
@@ -286,7 +286,9 @@ function! s:goyo_off()
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if goyo_disabled_signify
|
if goyo_disabled_signify
|
||||||
silent! if !(b:sy.active)|SignifyToggle|endif
|
silent! if !b:sy.active
|
||||||
|
SignifyToggle
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if goyo_disabled_airline && !exists("#airline")
|
if goyo_disabled_airline && !exists("#airline")
|
||||||
|
|||||||
Reference in New Issue
Block a user