summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-06-19 20:53:49 +0100
committerw0rp <devw0rp@gmail.com>2018-06-19 20:53:49 +0100
commit82ea36576c2221dc20ca98b748d7c83a25f9a4d3 (patch)
tree8d9ff51912934475f8a0fa84674f2ce90a7bb7b4 /autoload/ale.vim
parentfd261d7a171686a395b0c31cbc1c97e24cf24290 (diff)
downloadale-82ea36576c2221dc20ca98b748d7c83a25f9a4d3.zip
Move ClockMilliseconds to events, so fewer files are loaded some times
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim
index f31446cb..859bb5b8 100644
--- a/autoload/ale.vim
+++ b/autoload/ale.vim
@@ -21,7 +21,7 @@ let s:timestamp_map = {}
" If the function throws an exception, then the function will not be called
" for a while, and 0 will be returned instead.
function! ale#CallWithCooldown(timestamp_key, func, arglist) abort
- let l:now = ale#util#ClockMilliseconds()
+ let l:now = ale#events#ClockMilliseconds()
if l:now < get(s:timestamp_map, a:timestamp_key, -1)
return 0