Add elm-format as a new fixer (#916)

* Add elm-format as a new fixer
This commit is contained in:
Clément DOUIN
2017-09-09 22:30:20 +02:00
committed by w0rp
parent b3a9a0e3e8
commit f3da8f45c1
8 changed files with 137 additions and 2 deletions

View File

@@ -27,6 +27,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['javascript', 'typescript'],
\ 'description': 'Apply eslint --fix to a file.',
\ },
\ 'format': {
\ 'function': 'ale#fixers#format#Fix',
\ 'suggested_filetypes': ['elm'],
\ 'description': 'Apply elm-format to a file.',
\ },
\ 'isort': {
\ 'function': 'ale#fixers#isort#Fix',
\ 'suggested_filetypes': ['python'],