summaryrefslogtreecommitdiff
path: root/ale_linters/haskell
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-24 22:27:18 +0100
committerw0rp <devw0rp@gmail.com>2017-04-24 22:27:18 +0100
commita03121f5b051ed1f146a8979ea5d2bb26fe05bff (patch)
treedefbf1cd9c45af97667ec7ff47733a6cceca4207 /ale_linters/haskell
parentb4c0335ebceb5ba360a71dd3d0f10ec1d5807a83 (diff)
downloadale-a03121f5b051ed1f146a8979ea5d2bb26fe05bff.zip
Break shared handlers up into their own files, and fix stylelint error handling
Diffstat (limited to 'ale_linters/haskell')
-rw-r--r--ale_linters/haskell/ghc.vim4
-rw-r--r--ale_linters/haskell/hdevtools.vim2
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim
index 270f8ab1..ee6370b5 100644
--- a/ale_linters/haskell/ghc.vim
+++ b/ale_linters/haskell/ghc.vim
@@ -6,7 +6,7 @@ call ale#linter#Define('haskell', {
\ 'output_stream': 'stderr',
\ 'executable': 'ghc',
\ 'command': 'ghc -fno-code -v0 %t',
-\ 'callback': 'ale#handlers#HandleGhcFormat',
+\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})
call ale#linter#Define('haskell', {
@@ -14,5 +14,5 @@ call ale#linter#Define('haskell', {
\ 'output_stream': 'stderr',
\ 'executable': 'stack',
\ 'command': 'stack ghc -- -fno-code -v0 %t',
-\ 'callback': 'ale#handlers#HandleGhcFormat',
+\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})
diff --git a/ale_linters/haskell/hdevtools.vim b/ale_linters/haskell/hdevtools.vim
index 92bb8279..3e71ffbb 100644
--- a/ale_linters/haskell/hdevtools.vim
+++ b/ale_linters/haskell/hdevtools.vim
@@ -5,5 +5,5 @@ call ale#linter#Define('haskell', {
\ 'name': 'hdevtools',
\ 'executable': 'hdevtools',
\ 'command': 'hdevtools check -g -Wall -p %s %t',
-\ 'callback': 'ale#handlers#HandleGhcFormat',
+\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})