How do I append dynamic to the Haskell options in vim's configuration files #4548
Unanswered
patenteng
asked this question in
Q&A - Ask for help with problems
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Haskell requires the
-dynamic
option to compile on my system. So I want to append-dynamic
tog:ale_haskell_ghc_options
. I tried simply addingau FileType haskell let g:ale_haskell_ghc_options = g:ale_haskell_ghc_options . '-dynamic'
in .vim/after/plugin, but it complains that
g:ale_haskell_ghc_options
is not defined. If I doau FileType haskell let g:ale_haskell_ghc_options = '-dynamic'
it overrides the default options
-fno-code
and-v0
.I can add the above options, but I want my
g:ale_haskell_ghc_options
to change to<defaults> -dynamic
when ALE is updated. Any suggestions?Beta Was this translation helpful? Give feedback.
All reactions