Add 'scalafmt' fixer for Scala files

closes https://github.com/w0rp/ale/issues/1299
This commit is contained in:
Jeffrey Lau
2018-06-03 02:59:53 +08:00
parent 786fc0a62f
commit 77d0ac58ed
7 changed files with 134 additions and 2 deletions
+5
View File
@@ -95,6 +95,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['ruby'],
\ 'description': 'Fix ruby files with rufo',
\ },
\ 'scalafmt': {
\ 'function': 'ale#fixers#scalafmt#Fix',
\ 'suggested_filetypes': ['scala'],
\ 'description': 'Fix Scala files using scalafmt',
\ },
\ 'standard': {
\ 'function': 'ale#fixers#standard#Fix',
\ 'suggested_filetypes': ['javascript'],