fixed bug in in ShouldPromptUser function
This commit is contained in:
parent
52cc1a1346
commit
638c32fd77
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ let s:VERSION = '0.2.1'
|
|||
|
||||
function! s:ShouldPromptUser(now, last)
|
||||
let prev = a:last[1]
|
||||
if s:fresh || prev[0] < 1
|
||||
if s:fresh || prev < 1
|
||||
return 0
|
||||
endif
|
||||
let duration = a:now - prev
|
||||
|
|
Loading…
Reference in a new issue