fix(prog/nvim): format on save
This commit is contained in:
parent
8af8221825
commit
d680a58394
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ let g:sql_type_default = 'pgsql'
|
||||||
let g:neoformat_try_node_exe = 1
|
let g:neoformat_try_node_exe = 1
|
||||||
aug fmt
|
aug fmt
|
||||||
au!
|
au!
|
||||||
au BufWritePre javascript,typescript,rust undojoin | Neoformat
|
au FileType javascript,javascriptreact,typescript,typescriptreact,rust
|
||||||
|
\ au BufWritePre <buffer> undojoin | Neoformat
|
||||||
aug END
|
aug END
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue