From 6e6662bd4df41e3c3568f6fbc550a33b0af8f2f0 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 24 May 2022 22:03:23 +0300 Subject: [PATCH] fix(prog/nvim): formatting after undo --- programs/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/nvim/init.vim b/programs/nvim/init.vim index db41327..1ebde77 100644 --- a/programs/nvim/init.vim +++ b/programs/nvim/init.vim @@ -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 " }}}