Commits

ZyX_I committed f918a65

Added s:F._unload function to ignoredeps-feature

Comments (0)

Files changed (4)

test/reload-frawor.ok

 unloadpre: plugin/writefile-feature
 unloadpre: plugin/frawor
 unload: plugin/frawor/functions
+_unload
 unload: plugin/ignoredeps-feature
 load: plugin/frawor/functions
 load: plugin/frawor

test/reload-ignoredeps.ok

 load: plugin/writefile-feature
 load: plugin/ignoredeps-feature
 unloadpre: plugin/ignoredeps-feature
+_unload
 unload: plugin/ignoredeps-feature
 load: plugin/frawor/functions
 load: plugin/frawor

test/reload-writefile.ok

 load: plugin/ignoredeps-feature
 unloadpre: plugin/ignoredeps-feature
 unloadpre: plugin/writefile-feature
+_unload
 unload: plugin/ignoredeps-feature
 load: plugin/frawor/functions
 load: plugin/frawor

test/rtp/plugin/ignoredeps-feature.vim

 function s:F.testfeatureunloadpre(plugdict)
     call s:F._frawor.writefile('unloadpre: '.a:plugdict.id)
 endfunction
+function s:F._unload()
+    call s:F._frawor.writefile('_unload')
+endfunction
 call s:F._frawor.newfeature('testfeature', {'cons': s:F.testfeaturecons,
             \                               'load': s:F.testfeatureload,
             \                             'unload': s:F.testfeatureunload,