fix(prog/nvim): format on save

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-04 13:19:08 +03:00
parent 8af8221825
commit d680a58394

View file

@ -69,7 +69,8 @@ let g:sql_type_default = 'pgsql'
let g:neoformat_try_node_exe = 1
aug fmt
au!
au BufWritePre javascript,typescript,rust undojoin | Neoformat
au FileType javascript,javascriptreact,typescript,typescriptreact,rust
\ au BufWritePre <buffer> undojoin | Neoformat
aug END
" }}}