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