fix(prog/nvim): formatting after undo

This commit is contained in:
Dmitriy Pleshevskiy 2022-05-24 22:03:23 +03:00
parent cd68009272
commit 6e6662bd4d

View file

@ -78,7 +78,7 @@ let g:neoformat_only_msg_on_error = 1
let g:neoformat_enabled_markdown = ["denofmt"]
aug fmt
au!
au BufWritePre * undojoin | Neoformat
au BufWritePre * try | undojoin | Neoformat | catch /E790/ | Neoformat | endtry
aug END
" }}}