[UPDATE][VIM] Use ghc with dynamic libraries

This commit is contained in:
Bruno BELANYI 2020-04-06 19:17:09 +02:00
parent 357ee8fd89
commit f17b377b0d

View file

@ -17,6 +17,10 @@ let b:undo_ftplugin.='|unlet! b:ale_haskell_hlint_executable'
let b:ale_haskell_brittany_executable='stack' let b:ale_haskell_brittany_executable='stack'
let b:undo_ftplugin.='|unlet! b:ale_haskell_brittany_executable' let b:undo_ftplugin.='|unlet! b:ale_haskell_brittany_executable'
" Use dynamic libraries because of Arch linux, with default ALE options
let b:ale_haskell_ghc_options='--dynamic -fno-code -v0'
let b:undo_ftplugin.='|unlet! b:ale_haskell_ghc_options'
" Automatically format files when saving them " Automatically format files when saving them
let b:ale_fix_on_save=1 let b:ale_fix_on_save=1
let b:undo_ftplugin='|unlet! b:ale_lint_on_save' let b:undo_ftplugin='|unlet! b:ale_lint_on_save'