소스 검색

while -> until

Junegunn Choi 12 년 전
부모
커밋
39d3384bfd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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