Skip to content

Commit

Permalink
Add -haddock flag to help haskell-language-server
Browse files Browse the repository at this point in the history
(See this issue: haskell/haskell-language-server#208)

Adding -haddock gives doc-on-hover for 3rd party libraries like megaparsec.

I tested this on a big codebase (>20k SLOC) and compile times stayed the same.
  • Loading branch information
seagreen committed Feb 25, 2021
1 parent a11cd47 commit e4a1188
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ extra-deps:
ghc-options:
# All packages
"$locals": -Werror -Wno-type-defaults #-freverse-errors

# See https:/haskell/haskell-language-server/issues/208
"$everything": -haddock

0 comments on commit e4a1188

Please sign in to comment.