Move #init_buffer() into #process_buffer().

This commit is contained in:
Andy Stewart
2019-05-29 13:46:33 +01:00
parent 50932df59a
commit 064a3d6b10
4 changed files with 27 additions and 24 deletions

View File

@@ -190,7 +190,6 @@ function! s:on_bufenter()
let t:gitgutter_didtabenter = 0
call gitgutter#all(!g:gitgutter_terminal_reports_focus)
else
call gitgutter#init_buffer(bufnr(''))
call gitgutter#process_buffer(bufnr(''), !g:gitgutter_terminal_reports_focus)
endif
endfunction