From 8d3988ce97802a4061417100ee8592c0570e9f93 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Sat, 22 Apr 2017 02:22:56 -0700 Subject: [PATCH] update last sent time even when no heartbeats to send --- plugin/wakatime.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/wakatime.vim b/plugin/wakatime.vim index c6ece12..229daef 100644 --- a/plugin/wakatime.vim +++ b/plugin/wakatime.vim @@ -236,6 +236,7 @@ let s:VERSION = '4.0.15' function! s:SendHeartbeats() if len(s:heartbeats_buffer) == 0 + let s:last_sent = localtime() return endif