diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index 81dcc9c..008724e 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -247,6 +247,8 @@ function! s:on_bufenter() if has('vim_starting') && !$VIM_GITGUTTER_TEST if exists('*timer_start') && has('lambda') call s:next_tick("call gitgutter#process_buffer(+".bufnr('').", 0)") + else + call gitgutter#process_buffer(bufnr(''), 0) endif return endif