When I run daml damlc ide to use the LSP server with vim, I need to pass it explicit arguments --ghc-option -X_____ to enable a language feature.
Is there a way to automate this, so that the LSP server infers these from the {-# LANGAUGE _____ #-} pragma in my source code, rather than having to pass them in explicitly?
Just ran daml init and then created daml/Main.daml like above. The error says
/home/luciano/src/testextensions/daml/Main.daml:5:6: error:
Illegal declaration of a type or class operator ‘:+:’
Use TypeOperators to declare operators in type and declarations