On 5 March 2016, Matthew Desjardins <[email protected]>
wrote:
> On Saturday, March 5, 2016 at 2:00:48 PM UTC-5, LCD 47 wrote:
> > [...] Tangentially related again: since these latest versions
> > have been pathogen slayers (like it or not, people are thinking
> > about them that way :)), pathogen has one more useful feature,
> > the :Helptags command.  It runs :helptags in the directories in
> > runtimepath.  Perhaps add a
> > :packhelptags[!] that does the same thing for packages (with the
> > :bang
> > version forcing update of help for disabled plugins)?
> > 
> >     /lcd
> 
> Well that's really easy to implement in vimscript, something like:
> 
>     for path in split(&packpath, ',')
>         for doc in split(glob(path . '/pack/**/doc'), '\n')
>             execute 'helptags' doc
>         endfor
>     endfor

    Arguably, few functions of pathogen are "hard".  The less than
trivial part is actually making them robust; I believe that was the
main point of pathogen.  Would your method still work if one of the
components in packpath had a comma in a directory name?

    /lcd

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to