mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 17:28:57 +02:00
style: format
This commit is contained in:
parent
5eca3dc3bb
commit
0136bfa4b5
1 changed files with 6 additions and 3 deletions
|
@ -35,9 +35,12 @@ function M.format(opts)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if M.custom_format and Util.try(function()
|
if
|
||||||
return M.custom_format(buf)
|
M.custom_format
|
||||||
end, { msg = "Custom formatter failed" }) then
|
and Util.try(function()
|
||||||
|
return M.custom_format(buf)
|
||||||
|
end, { msg = "Custom formatter failed" })
|
||||||
|
then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue