mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-24 21:41:08 +00:00
fix(format): always show formatter status even when no sources available
This commit is contained in:
parent
b5495eb38a
commit
704e85183b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ function M.info(buf)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if not have then
|
if not have then
|
||||||
lines = { "\nNo formatters available for this buffer" }
|
lines[#lines+1] = "\n***No formatters available for this buffer.***"
|
||||||
end
|
end
|
||||||
Util[enabled and "info" or "warn"](
|
Util[enabled and "info" or "warn"](
|
||||||
table.concat(lines, "\n"),
|
table.concat(lines, "\n"),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue