From 6ca03dcd1a08071ca6cc21201ad266c7f45c337e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 15 Dec 2022 13:44:45 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/lazy.nvim.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index 8bd4ba1..486ddad 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -294,6 +294,15 @@ CONFIGURATION *lazy.nvim-configuration* }, }, }, + -- 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, + }, } <