Merge pull request #49 from yogeshnachnani/master

makes plugin compatible with old vim installations that do not have q…
This commit is contained in:
Alan Hamlett 2017-04-30 08:57:48 -07:00 committed by GitHub
commit 67a8a4eec8

View file

@ -455,7 +455,9 @@ let s:VERSION = '5.0.1'
autocmd BufEnter,VimEnter * call s:InitAndHandleActivity(s:false)
autocmd CursorMoved,CursorMovedI * call s:HandleActivity(s:false)
autocmd BufWritePost * call s:HandleActivity(s:true)
if exists('##QuitPre')
autocmd QuitPre * call s:SendHeartbeats()
endif
augroup END
" }}}