Lazy.nvim while not lazy load your helpdocs.
{ "phanen/lazy-help.nvim", ft = "lazy" }
Ensure appending docs' cache into rtp
vim.g.docs_path = vim.fs.joinpath(vim.fn.stdpath('cache'), 'where-ever-you-like')
vim.opt.rtp:append(vim.g.docs_path)
Pickers (e.g. fzf-lua
) may support load all vimdoc entries (without loading plugins)
- This is achieved by walking all rtp: ibhagwan/fzf-lua#1296
- Pros: don't need one more rtp to cache your helpdocs, tags won't conflict.
- Cons: but it won't work when you typings
:h something
in your commandline.
- perf: no need to append one more rtp, just reuse
lazy.nvim
's rtp - fix duplicated tags (e.g.
Mini.git
orfugitive
both have:Git
entry)- but i don't want bloating
rtp
...
- but i don't want bloating