ghc-mod only does check phase
This commit is contained in:
parent
f9302bbb32
commit
8745794ea5
@ -35,20 +35,12 @@ function! SyntaxCheckers_haskell_ghc_mod_GetLocList()
|
||||
\ 'args': '--hlintOpt="--language=XmlSyntax"',
|
||||
\ 'filetype': 'haskell',
|
||||
\ 'subchecker': 'ghc_mod' })
|
||||
let loclist1 = SyntasticMake({
|
||||
|
||||
let loclist = SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat })
|
||||
|
||||
let makeprg = syntastic#makeprg#build({
|
||||
\ 'exe': 'ghc-mod lint',
|
||||
\ 'args': '--hlintOpt="--language=XmlSyntax"',
|
||||
\ 'filetype': 'haskell',
|
||||
\ 'subchecker': 'ghc_mod' })
|
||||
let loclist2 = SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat })
|
||||
|
||||
return loclist1 + loclist2
|
||||
return loclist
|
||||
endfunction
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
|
Loading…
Reference in New Issue
Block a user