mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 02:38:50 +02:00
docs: more docs
This commit is contained in:
parent
ed48958aae
commit
c1fb5a09b8
2 changed files with 232 additions and 9 deletions
|
@ -101,7 +101,7 @@ function M.update()
|
|||
|
||||
---@type string[]
|
||||
local plugins = {
|
||||
"<details><summary>Core Plugins</summary>",
|
||||
"<details><summary>Core</summary>",
|
||||
"",
|
||||
Docs.plugins(core.plugins).content,
|
||||
"",
|
||||
|
@ -138,6 +138,8 @@ require("lazy").setup({
|
|||
end
|
||||
end)
|
||||
data.plugins = { content = table.concat(plugins, "\n") }
|
||||
local examples = vim.fn.fnamemodify(root .. "/../LazyVim-starter/lua/plugins/example.lua", ":p")
|
||||
data.examples = Util.read_file(examples):gsub("^[^\n]+\n[^\n]+\n[^\n]+\n", "")
|
||||
Docs.save(data)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue