Merge pull request #49 from yogeshnachnani/master
makes plugin compatible with old vim installations that do not have q…
This commit is contained in:
commit
67a8a4eec8
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
autocmd QuitPre * call s:SendHeartbeats()
|
||||
if exists('##QuitPre')
|
||||
autocmd QuitPre * call s:SendHeartbeats()
|
||||
endif
|
||||
augroup END
|
||||
|
||||
" }}}
|
||||
|
|
Loading…
Reference in a new issue