Add hlint refactoring as a fixer (#1836)

This commit is contained in:
Evan Borden
2018-08-23 18:23:54 -04:00
committed by w0rp
parent 2600524274
commit 707b539969
5 changed files with 57 additions and 0 deletions
+5
View File
@@ -170,6 +170,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['haskell'],
\ 'description': 'Fix Haskell files with brittany.',
\ },
\ 'hlint': {
\ 'function': 'ale#fixers#hlint#Fix',
\ 'suggested_filetypes': ['haskell'],
\ 'description': 'Refactor Haskell files with hlint.',
\ },
\ 'stylish-haskell': {
\ 'function': 'ale#fixers#stylish_haskell#Fix',
\ 'suggested_filetypes': ['haskell'],