fix(prog/nvim): use neoformat only for js,ts,rust
This commit is contained in:
parent
7eea4fa00b
commit
d10e4c4cf9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
" }}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue