diff --git a/plugin/goyo.vim b/plugin/goyo.vim index a2beb4a..06403b7 100644 --- a/plugin/goyo.vim +++ b/plugin/goyo.vim @@ -259,7 +259,9 @@ function! s:goyo_off() for [k, v] in items(goyo_revert) execute printf("let &%s = %s", k, string(v)) endfor - execute 'colo '. g:colors_name + if exists('g:colors_name') + execute 'colo '. g:colors_name + endif if goyo_disabled_gitgutter silent! GitGutterEnable