diff options
-rw-r--r-- | ale_linters/haskell/hlint.vim | 3 | ||||
-rw-r--r-- | test/command_callback/test_haskell_hlint_command_callbacks.vader | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/haskell/hlint.vim b/ale_linters/haskell/hlint.vim index fbb49fdb..0cc7437f 100644 --- a/ale_linters/haskell/hlint.vim +++ b/ale_linters/haskell/hlint.vim @@ -1,6 +1,9 @@ " Author: jparoz <jesse.paroz@gmail.com> " Description: hlint for Haskell files +call ale#Set('haskell_hlint_executable', 'hlint') +call ale#Set('haskell_hlint_options', get(g:, 'hlint_options', '')) + function! ale_linters#haskell#hlint#Handle(buffer, lines) abort let l:output = [] diff --git a/test/command_callback/test_haskell_hlint_command_callbacks.vader b/test/command_callback/test_haskell_hlint_command_callbacks.vader index d4ee708c..6d227c9d 100644 --- a/test/command_callback/test_haskell_hlint_command_callbacks.vader +++ b/test/command_callback/test_haskell_hlint_command_callbacks.vader @@ -1,9 +1,6 @@ Before: call ale#assert#SetUpLinterTest('haskell', 'hlint') - let g:ale_haskell_hlint_executable = 'hlint' - let g:ale_haskell_hlint_options = '' - let b:base_opts = '--color=never --json -' After: |