Closed
Description
Since we already rely on GHC output for supported language extensions and pragmas why not to drop haskell-doc-prelude-types
from haskell-doc.el
? This could be done parsing output of ghc -e ':bro Prelude'
.
One caveat: now stack
allows multiple GHC versions without any global GHC compiler in PATH, I think we should add these variables to session when starting new interactive process and populate them running stack exec -- ghc …
because different versions of GHC possibly could have different Preludes and options/extensions. Then in case of presence interactive session associated to current buffer completion and doc-string providers should use session variables instead of global ones.
Metadata
Metadata
Assignees
Labels
No labels