ci: docgen fixes
This commit is contained in:
parent
8e11d208d6
commit
7d0fe7615a
|
|
@ -131,8 +131,8 @@ function M.colors(opts)
|
|||
{ "---", "---", "---" },
|
||||
}
|
||||
Util.foreach(require(opts.modname).colors, function(group, link)
|
||||
link = type(link) == "table" and vim.inspect(link):gsub("%s+", " ") or link
|
||||
lines[#lines + 1] = { "**" .. opts.name .. group .. "**", "***" .. link .. "***", comments[group] or "" }
|
||||
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) }
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue