Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 997 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 997 Bytes

lazy-help.nvim

CI

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)

notes

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.

TODO

  • perf: no need to append one more rtp, just reuse lazy.nvim's rtp
  • fix duplicated tags (e.g. Mini.git or fugitive both have :Git entry)
    • but i don't want bloating rtp...