diff --git a/programs/nvim/init.vim b/programs/nvim/init.vim index 406577e..e5a056b 100644 --- a/programs/nvim/init.vim +++ b/programs/nvim/init.vim @@ -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 undojoin | Neoformat aug END " }}}