mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-20 11:08:33 -07:00
while -> until
This commit is contained in:
parent
09b2080ddb
commit
39d3384bfd
2
plug.vim
2
plug.vim
@ -383,7 +383,7 @@ function! s:update_parallel(pull, threads)
|
|||||||
pids = [fd.pid]
|
pids = [fd.pid]
|
||||||
unless `which pgrep`.empty?
|
unless `which pgrep`.empty?
|
||||||
children = pids
|
children = pids
|
||||||
while !children.empty?
|
until children.empty?
|
||||||
children = children.map { |pid|
|
children = children.map { |pid|
|
||||||
`pgrep -P #{pid}`.lines.map(&:chomp)
|
`pgrep -P #{pid}`.lines.map(&:chomp)
|
||||||
}.flatten
|
}.flatten
|
||||||
|
Loading…
Reference in New Issue
Block a user