fix(format): always show formatter status even when no sources available

This commit is contained in:
Folke Lemaitre committed 2023-10-12 11:48:02 +02:00
1 parent c33e7489ec
commit a4abbdc89b
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@ function M.info(buf)
end
end
if not have then
lines = { "\nNo formatters available for this buffer" }
lines[#lines+1] = "\n***No formatters available for this buffer.***"
end
Util[enabled and "info" or "warn"](
table.concat(lines, "\n"),