adds fixer support for hfmt (#1027)

Add support for fixing Haskell with hfmt
This commit is contained in:
Zack Kourouma
2017-10-24 14:29:04 -07:00
committed by w0rp
parent b172cd8b17
commit 07dad64acb
6 changed files with 58 additions and 2 deletions

View File

@@ -117,6 +117,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['rust'],
\ 'description': 'Fix Rust files with Rustfmt.',
\ },
\ 'hfmt': {
\ 'function': 'ale#fixers#hfmt#Fix',
\ 'suggested_filetypes': ['haskell'],
\ 'description': 'Fix Haskell files with hfmt.',
\ },
\}
" Reset the function registry to the default entries.