mhartington/formatter.nvim

ignore the auto-format if there is any syntax error

shaeinst opened this issue · 1 comments

i have enabled auto format on save. Problem is, when there is any syntax error and i save it, it throw big error rows.
for example, i am using yapf for python and it throw me error when there is syntax error and i save it.
2021-11-13_10-46

You can use :silent Format
like @lukas-reineke said in #102