From f17b377b0d726728be340471299f51b64d4520b9 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 6 Apr 2020 19:17:09 +0200 Subject: [PATCH] [UPDATE][VIM] Use ghc with dynamic libraries --- vim/.vim/after/ftplugin/haskell.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim/.vim/after/ftplugin/haskell.vim b/vim/.vim/after/ftplugin/haskell.vim index 5e80851..89307b7 100644 --- a/vim/.vim/after/ftplugin/haskell.vim +++ b/vim/.vim/after/ftplugin/haskell.vim @@ -17,6 +17,10 @@ let b:undo_ftplugin.='|unlet! b:ale_haskell_hlint_executable' let b:ale_haskell_brittany_executable='stack' 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 let b:ale_fix_on_save=1 let b:undo_ftplugin='|unlet! b:ale_lint_on_save'