Skip to content

Commit

Permalink
Merge pull request #162 from k-takata/fix-E120
Browse files Browse the repository at this point in the history
Fix E120 error on older versions of Vim
  • Loading branch information
k-takata authored Dec 6, 2024
2 parents caa090e + bdf382d commit 8f5b900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/minpac/impl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
" minpac: A minimal package manager for Vim 8+ (and Neovim)
"
" Maintainer: Ken Takata
" Last Change: 2023-12-20
" Last Change: 2024-12-06
" License: VIM License
" URL: https://github.com/k-takata/minpac
" ---------------------------------------------------------------------
Expand Down Expand Up @@ -441,7 +441,7 @@ function! s:start_job(cmds, name, seq, ...) abort
if g:minpac#opt.jobs > 0
if len(s:joblist) >= g:minpac#opt.jobs
if s:timer_id == -1
let s:timer_id = timer_start(500, 's:timer_worker', {'repeat': -1})
let s:timer_id = timer_start(500, function('s:timer_worker'), {'repeat': -1})
endif
" Add the job to s:jobqueue.
let s:jobqueue += [[a:cmds, a:name, a:seq]]
Expand Down

0 comments on commit 8f5b900

Please sign in to comment.