Skip to content

Commit 7d0fe76

Browse files
committed
ci: docgen fixes
1 parent 8e11d20 commit 7d0fe76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lua/lazy/docs.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ function M.colors(opts)
131131
{ "---", "---", "---" },
132132
}
133133
Util.foreach(require(opts.modname).colors, function(group, link)
134-
link = type(link) == "table" and vim.inspect(link):gsub("%s+", " ") or link
135-
lines[#lines + 1] = { "**" .. opts.name .. group .. "**", "***" .. link .. "***", comments[group] or "" }
134+
link = type(link) == "table" and "`" .. vim.inspect(link):gsub("%s+", " ") .. "`" or "***" .. link .. "***"
135+
lines[#lines + 1] = { "**" .. opts.name .. group .. "**", link, comments[group] or "" }
136136
end)
137137
return { content = M.table(lines) }
138138
end

0 commit comments

Comments
 (0)