Is it possible to format the code before save? The readme says to use autocmd BufWritePost but this runs after save meaning it doesn't actually save the formatting unless you save twice. I tried using BufWritePre and BufWriteCmd but both didn't format until after saving either.
Is it possible to format the code before save? The readme says to use
autocmd BufWritePost
but this runs after save meaning it doesn't actually save the formatting unless you save twice. I tried usingBufWritePre
andBufWriteCmd
but both didn't format until after saving either.