add the -fno-code ghc option to speed up checking

Since we're only using ghc to check and lint the file and not actually create output, we can pass -fno-code which omits code generation and speeds up the check quite a bit.
This commit is contained in:
Jason Hickner 2012-11-23 16:14:53 -08:00
parent 122e88b82a
commit 02ab1c9df0

View File

@ -11,7 +11,7 @@
"============================================================================
if !exists('g:syntastic_haskell_checker_args')
let g:syntastic_haskell_checker_args = '--hlintOpt="--language=XmlSyntax"'
let g:syntastic_haskell_checker_args = '--ghcOpts="-fno-code" --hlintOpt="--language=XmlSyntax"'
endif
function! SyntaxCheckers_haskell_GetLocList()