Skip to content

Commit

Permalink
docs: docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 20, 2024
1 parent e41dffc commit 2574970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down

0 comments on commit 2574970

Please sign in to comment.