Saturday, March 5, 2016

Re: Packages

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

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment