feat(help): accept patterns for readme (#269)

This commit is contained in:
Munif Tanjim 2023-01-02 01:23:41 +06:00 committed by GitHub
parent 11eee43c7e
commit d521a25cfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View file

@ -436,7 +436,7 @@ return {
-- when the readme opens with :help it will be correctly displayed as markdown
readme = {
root = vim.fn.stdpath("state") .. "/lazy/readme",
files = { "README.md" },
files = { "README.md", "lua/**/README.md" },
-- only generate markdown helptags for plugins that dont have docs
skip_if_doc_exists = true,
},