Config available to ghcide Main is always default #1980
Labels
component: ghcide
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
While working on a fix for #1873, I noticed that my plugin's configuration wasn't available when building the
IdeOptions
. But that's odd, because it's obviously getting pulled:haskell-language-server/ghcide/src/Development/IDE/Main.hs
Line 220 in dee0216
Tracing this, however, gives the following object:
which correspond exactly with the
Default
instance:haskell-language-server/hls-plugin-api/src/Ide/Plugin/Config.hs
Lines 63 to 78 in dee0216
What's going on here? Do we expect the config to be initialized by this point?
The text was updated successfully, but these errors were encountered: