docs: added docs on readme help indexing

This commit is contained in:
Folke Lemaitre 2022-12-15 14:34:08 +01:00
parent 4dfab59c87
commit fd600be2e5
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 5 additions and 0 deletions

View file

@ -75,9 +75,13 @@ M.defaults = {
},
},
},
-- lazy can generate helptags from the headings in markdown readme files,
-- so :help works even for plugins that don't have vim docs.
-- when the readme opens with :help it will be correctly displayed as markdown
readme = {
root = vim.fn.stdpath("state") .. "/lazy/readme",
files = { "README.md" },
-- only generate markdown helptags for plugins that dont have docs
skip_if_doc_exists = true,
},
debug = false,