Break shared handlers up into their own files, and fix stylelint error handling

This commit is contained in:
w0rp
2017-04-24 22:27:18 +01:00
parent b4c0335ebc
commit a03121f5b0
44 changed files with 263 additions and 272 deletions

View File

@@ -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',
\})

View File

@@ -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',
\})