docs: docgen
This commit is contained in:
parent
e41dffcbaf
commit
25749704e4
|
|
@ -131,7 +131,7 @@ function M.colors(opts)
|
||||||
{ "---", "---", "---" },
|
{ "---", "---", "---" },
|
||||||
}
|
}
|
||||||
Util.foreach(require(opts.modname).colors, function(group, link)
|
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 "" }
|
lines[#lines + 1] = { "**" .. opts.name .. group .. "**", "***" .. link .. "***", comments[group] or "" }
|
||||||
end)
|
end)
|
||||||
return { content = M.table(lines) }
|
return { content = M.table(lines) }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue