Add plug#helptags()

This commit is contained in:
Junegunn Choi
2014-08-09 12:02:03 +09:00
parent 3a2e406cd0
commit d0c94a9b08
3 changed files with 20 additions and 2 deletions

View File

@@ -761,6 +761,16 @@ Execute (Filetype-based on-demand loading):
setf xxx
AssertEqual ['/ftdetect', 'after/ftdetect', '/plugin', 'after/plugin', '/ftplugin', 'after/ftplugin', '/indent', 'after/indent', '/syntax', 'after/syntax'], g:xxx
**********************************************************************
~ plug#helptags()
**********************************************************************
Execute (plug#helptags):
silent! call delete(expand('$PWD/xxx/doc/tags'))
Assert !filereadable(expand('$PWD/xxx/doc/tags'))
AssertEqual 1, plug#helptags()
Assert filereadable(expand('$PWD/xxx/doc/tags'))
Before:
Execute (Cleanup):
silent! call system('rm -rf '.temp_plugged)