fix(prog/nvim): formatting after undo
This commit is contained in:
parent
cd68009272
commit
6e6662bd4d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
" }}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue