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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.