Ignore vim-gitgutter errors

This commit is contained in:
Junegunn Choi
2013-12-31 13:11:10 +09:00
parent d5aef74ca5
commit 41407af3da

View File

@@ -140,7 +140,7 @@ function! s:goyo_on(width)
" vim-gitgutter " vim-gitgutter
let t:goyo_disabled_gitgutter = get(g:, 'gitgutter_enabled', 0) let t:goyo_disabled_gitgutter = get(g:, 'gitgutter_enabled', 0)
if t:goyo_disabled_gitgutter if t:goyo_disabled_gitgutter
GitGutterDisable silent! GitGutterDisable
endif endif
" vim-airline " vim-airline
@@ -248,7 +248,7 @@ function! s:goyo_off()
execute 'colo '. g:colors_name execute 'colo '. g:colors_name
if goyo_disabled_gitgutter if goyo_disabled_gitgutter
GitGutterEnable silent! GitGutterEnable
endif endif
if goyo_disabled_airline && !exists("#airline") if goyo_disabled_airline && !exists("#airline")