Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haskell-language-server: doc-on-hover for 3rd party library definitions #1821

Closed
seagreen opened this issue Feb 18, 2021 · 0 comments
Closed

Comments

@seagreen
Copy link
Contributor

For folks who are using haskell-language-server, are you getting doc-on-hover for 3rd party library definitions? Eg:

Screenshot from 2021-02-18 17-10-11

Due to this bug they only work for me if the -haddock GHC flag was passed to each of the dependencies. I have the following $everything added to Unison's stack.yaml to get them working locally:

ghc-options:
 # All packages
 "$locals": -Werror -Wno-type-defaults #-freverse-errors
 "$everything": -haddock

Should we add that to this repo's stack.yaml?

Note that it might slow down compilation slightly, compiling local packages went from 109s to 111s with it.

Also @mitchellwrosen any chance you've run into this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants