Ver código fonte

while -> until

Junegunn Choi 12 anos atrás
pai
commit
39d3384bfd
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -383,7 +383,7 @@ function! s:update_parallel(pull, threads)
         pids = [fd.pid]
         unless `which pgrep`.empty?
           children = pids
-          while !children.empty?
+          until children.empty?
             children = children.map { |pid|
               `pgrep -P #{pid}`.lines.map(&:chomp)
             }.flatten