style: format

This commit is contained in:
Folke Lemaitre committed 2023-09-30 18:10:29 +02:00
1 parent 5eca3dc3bb
commit 0136bfa4b5
1 file changed
+6 -3
+6 -3
View File
@@ -35,9 +35,12 @@ function M.format(opts)
return
end
if M.custom_format and Util.try(function()
return M.custom_format(buf)
end, { msg = "Custom formatter failed" }) then
if
M.custom_format
and Util.try(function()
return M.custom_format(buf)
end, { msg = "Custom formatter failed" })
then
return
end