fixed bug in in ShouldPromptUser function

This commit is contained in:
Alan Hamlett 2013-07-09 23:49:04 -07:00
parent 52cc1a1346
commit 638c32fd77

View file

@ -129,7 +129,7 @@ let s:VERSION = '0.2.1'
function! s:ShouldPromptUser(now, last) function! s:ShouldPromptUser(now, last)
let prev = a:last[1] let prev = a:last[1]
if s:fresh || prev[0] < 1 if s:fresh || prev < 1
return 0 return 0
endif endif
let duration = a:now - prev let duration = a:now - prev