Fix overlapping in incline statusbars diagnostic section

This commit is contained in:
Martin Larsson 2024-05-26 18:10:53 +02:00
parent 061fbf36dc
commit 761f6e3e59

View file

@ -46,7 +46,7 @@ return {
local n = #vim.diagnostic.get(props.buf,
{ severity = vim.diagnostic.severity[string.upper(severity)] })
if n > 0 then
table.insert(label, { icon .. n .. " ", group = "DiagnosticSign" .. severity })
table.insert(label, { icon .. " " .. n .. " ", group = "DiagnosticSign" .. severity })
end
end
if #label > 0 then