mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-22 06:16:46 +00:00
docs: docgen
This commit is contained in:
parent
e41dffcbaf
commit
25749704e4
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ function M.colors(opts)
|
|||
{ "---", "---", "---" },
|
||||
}
|
||||
Util.foreach(require(opts.modname).colors, function(group, link)
|
||||
link = type(link) == "table" and vim.inspect(link) or link
|
||||
link = type(link) == "table" and vim.inspect(link):gsub("%s+", " ") or link
|
||||
lines[#lines + 1] = { "**" .. opts.name .. group .. "**", "***" .. link .. "***", comments[group] or "" }
|
||||
end)
|
||||
return { content = M.table(lines) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue