Skip to content

Commit

Permalink
Use GHC option -haddock, so that HLS picks up doc strings in hovers
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Sep 5, 2021
1 parent 56ad658 commit 3ea9dbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/app.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ common client-server-shared
tree-diff,
vector
ghc-options:
-haddock
-Wall
-Werror
-Wwarn=missing-home-modules
Expand Down Expand Up @@ -96,6 +97,7 @@ executable app
client,
shared
ghc-options:
-haddock
-Wall
-Wno-name-shadowing
-Werror
Expand Down Expand Up @@ -171,6 +173,7 @@ Test-Suite test-darkcraw
tree-diff,
vector
ghc-options:
-haddock
-Wall
-Wno-name-shadowing
-Werror
Expand Down

0 comments on commit 3ea9dbd

Please sign in to comment.