feat(help): accept patterns for readme

This commit is contained in:
Munif Tanjim 2023-01-01 17:28:50 +06:00
commit 6c993f3859
3 changed files with 12 additions and 7 deletions

View file

@ -135,7 +135,7 @@ M.defaults = {
-- 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,
},