mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 17:03:39 +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
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue