mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-17 07:43:42 -05:00
Ignore vim-gitgutter errors
This commit is contained in:
@@ -140,7 +140,7 @@ function! s:goyo_on(width)
|
||||
" vim-gitgutter
|
||||
let t:goyo_disabled_gitgutter = get(g:, 'gitgutter_enabled', 0)
|
||||
if t:goyo_disabled_gitgutter
|
||||
GitGutterDisable
|
||||
silent! GitGutterDisable
|
||||
endif
|
||||
|
||||
" vim-airline
|
||||
@@ -248,7 +248,7 @@ function! s:goyo_off()
|
||||
execute 'colo '. g:colors_name
|
||||
|
||||
if goyo_disabled_gitgutter
|
||||
GitGutterEnable
|
||||
silent! GitGutterEnable
|
||||
endif
|
||||
|
||||
if goyo_disabled_airline && !exists("#airline")
|
||||
|
||||
Reference in New Issue
Block a user