vimrc/autoformat.vim

5 lines
166 B
VimL
Raw Normal View History

au BufWrite * :Autoformat
" see here for instructions to get scalafmt set up
let g:formatdef_scalafmt = '"ng-nailgun scalafmt"'
let g:formatters_scala = ['scalafmt']