mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 05:16:45 +00:00
ci: docgen fixes
This commit is contained in:
parent
8e11d208d6
commit
7d0fe7615a
1 changed files with 2 additions and 2 deletions
|
@ -131,8 +131,8 @@ 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):gsub("%s+", " ") 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) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue