mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-29 20:14:36 +02:00
fix(format): always show formatter status even when no sources available
This commit is contained in:
parent
c33e7489ec
commit
a4abbdc89b
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue