mirror of https://github.com/folke/lazy.nvim.git
docs: added docs on readme help indexing
This commit is contained in:
parent
4dfab59c87
commit
fd600be2e5
|
@ -15,6 +15,7 @@
|
||||||
- 🛠️ No need to manually compile plugins
|
- 🛠️ No need to manually compile plugins
|
||||||
- 🧪 Correct sequencing of dependencies
|
- 🧪 Correct sequencing of dependencies
|
||||||
- 📁 Configurable in multiple files
|
- 📁 Configurable in multiple files
|
||||||
|
- 📚 Generates helptags of the headings in `README.md` files for plugins that don't have vimdocs
|
||||||
- 💻 Dev options and patterns for using local plugins
|
- 💻 Dev options and patterns for using local plugins
|
||||||
- 📊 Profiling tools to optimize performance
|
- 📊 Profiling tools to optimize performance
|
||||||
- 🔒 Lockfile `lazy-lock.json` to keep track of installed plugins
|
- 🔒 Lockfile `lazy-lock.json` to keep track of installed plugins
|
||||||
|
|
|
@ -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 = {
|
readme = {
|
||||||
root = vim.fn.stdpath("state") .. "/lazy/readme",
|
root = vim.fn.stdpath("state") .. "/lazy/readme",
|
||||||
files = { "README.md" },
|
files = { "README.md" },
|
||||||
|
-- only generate markdown helptags for plugins that dont have docs
|
||||||
skip_if_doc_exists = true,
|
skip_if_doc_exists = true,
|
||||||
},
|
},
|
||||||
debug = false,
|
debug = false,
|
||||||
|
|
Loading…
Reference in New Issue