summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/ghc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/ghc.vim')
-rw-r--r--ale_linters/haskell/ghc.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim
index 5af4bb3d..5c5dba10 100644
--- a/ale_linters/haskell/ghc.vim
+++ b/ale_linters/haskell/ghc.vim
@@ -58,7 +58,7 @@ function! ale_linters#haskell#ghc#Handle(buffer, lines)
return output
endfunction
-call ALEAddLinter('haskell', {
+call ale#linter#Define('haskell', {
\ 'name': 'ghc',
\ 'output_stream': 'stderr',
\ 'executable': 'ghc',
@@ -66,7 +66,7 @@ call ALEAddLinter('haskell', {
\ 'callback': 'ale_linters#haskell#ghc#Handle',
\})
-call ALEAddLinter('haskell', {
+call ale#linter#Define('haskell', {
\ 'name': 'stack-ghc',
\ 'output_stream': 'stderr',
\ 'executable': 'stack',