Commits

ZyX_I committed fd28b4e

@frawor: Made s:dependents.*.* contain plugin dictionaries

Comments (0)

Files changed (1)

plugin/frawor.vim

         if !has_key(s:dependents, dplid)
             let s:dependents[dplid]={}
         endif
-        let s:dependents[dplid][plid]=1
+        let s:dependents[dplid][plid]=plugdict
     endfor
     "▶3 Locking plugdict
     lockvar 1 plugdict
                 for feature in values(shadowdict.features.newfeature)
                     call map(((has_key(feature, 'ignoredeps'))?
                                 \       (values(s:pls)):
-                                \       (map(keys(get(s:dependents,
-                                \                     plugdict.id, {})),
-                                \            's:pls[v:val]'))),
+                                \       (values(get(s:dependents, plugdict.id,
+                                \                   {})))),
                                 \'s:F.addfeature(v:val, feature)')
                 endfor
             endif
     call map(((has_key(feature, 'ignoredeps'))?
                 \(values(s:pls)):
                 \((has_key(s:dependents, a:plugdict.id))?
-                \   (map(keys(get(s:dependents, a:plugdict.id, {})),
-                \        's:pls[v:val]')):
+                \   (values(get(s:dependents, a:plugdict.id, {}))):
                 \   ([]))),
                 \'s:F.addfeature(v:val, feature)')
 endfunction
     if !has_key(s:dependents, dplid)
         let s:dependents[dplid]={}
     endif
-    let s:dependents[dplid][a:plugdict.id]=1
+    let s:dependents[dplid][a:plugdict.id]=a:plugdict
     "▶2 Load dependency if required
     let olddstatus=0
     let doload=1