Improve auto formatting
This commit is contained in:
parent
420dee4934
commit
f58dde7a81
|
@ -1,4 +1,3 @@
|
|||
au BufWrite * :Autoformat
|
||||
" see here for instructions to get scalafmt set up
|
||||
let g:formatdef_scalafmt = '"ng-nailgun scalafmt"'
|
||||
let g:formatters_scala = ['scalafmt']
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
let g:formatdef_rustfmt_force = '"rustfmt --force"'
|
||||
let g:formatters_rust = ['rustfmt_force']
|
||||
let g:rustfmt_autosave = 1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
au BufWrite * :Autoformat
|
Loading…
Reference in New Issue