From d10e4c4cf90ff8a3c0348b00abe36ad28c4c799d Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 3 Apr 2022 21:53:22 +0300 Subject: [PATCH] fix(prog/nvim): use neoformat only for js,ts,rust --- 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 a23ab73..ebdc8ad 100644 --- a/programs/nvim/init.vim +++ b/programs/nvim/init.vim @@ -76,7 +76,7 @@ let g:sql_type_default = 'pgsql' let g:neoformat_try_node_exe = 1 augroup fmt autocmd! - autocmd BufWritePre * undojoin | Neoformat + autocmd BufWritePre javascript,typescript,rust undojoin | Neoformat augroup END " }}}