fix(prog/nvim): use neoformat only for js,ts,rust

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-03 21:53:22 +03:00
parent 7eea4fa00b
commit d10e4c4cf9

View file

@ -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
" }}}