We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c12aa1f commit c2e769bCopy full SHA for c2e769b
plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal.hs
@@ -329,7 +329,7 @@ hover ide _ msgParam = do
329
(gpd, _) <- runActionE "cabal.GPD" ide $ useWithStaleE ParseCabalFile nfp
330
let depsNames = map dependencyName $ allBuildDepends $ flattenPackageDescription gpd
331
if cursorText `elem` depsNames
332
- then pure $ foundHover (Nothing, [cursorText <> "\n---\n" <> documentationText cursorText])
+ then pure $ foundHover (Nothing, [cursorText <> "\n", documentationText cursorText])
333
else pure $ foundHover (Nothing, [cursorText])
334
335
-- TODO get package description and use `allBuildDepends` to check if hover is on a dependency
0 commit comments