Open masaeedu opened 5 years ago
IIRC, this happens because HIE is actually not aware of the Context in this case. How this currently works: If the line starts with {#- LANGUAGE
then auto complete the plugin list. To make this work, we either have to reparse lines that are before the one we want to auto-complete in, or add more Context information.
Imo, the latter is the more future-proof solution, however, the implementation might prove tricky.
When I write:
I get an autocomplete suggestion for the
GADT
language extension.But if I do:
I don't get any suggestions. I prefer to wrap the list of pragmas onto separate lines, so this causes some issues.