Commits

ZyX_I committed 592bb37

@frawor: Deplen optimization

  • Participants
  • Parent commits f4a4f8c
  • Tags release-0.1.22

Comments (0)

Files changed (1)

File plugin/frawor.vim

                 endif
                 if !has_key(s:pls, dplid) || s:pls[dplid].status!=2
                     if s:F.loadplugin(dplid)
-                        if s:deplen[dplid]+1>s:deplen[plid]
-                            let s:deplen[plid]=s:deplen[dplid]+1
-                        endif
+                        " It must have run updatedeplen on its own and thus has 
+                        " updated all plid dependants
+                        let olddeplen=s:deplen[plid]
                     else
                         call s:_f.throw('reqfailed', dplid, plid)
                     endif