Skip to content

Commit c2e769b

Browse files
committed
bugfix
1 parent c12aa1f commit c2e769b

File tree

1 file changed

+1
-1
lines changed
  • plugins/hls-cabal-plugin/src/Ide/Plugin

1 file changed

+1
-1
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ hover ide _ msgParam = do
329329
(gpd, _) <- runActionE "cabal.GPD" ide $ useWithStaleE ParseCabalFile nfp
330330
let depsNames = map dependencyName $ allBuildDepends $ flattenPackageDescription gpd
331331
if cursorText `elem` depsNames
332-
then pure $ foundHover (Nothing, [cursorText <> "\n---\n" <> documentationText cursorText])
332+
then pure $ foundHover (Nothing, [cursorText <> "\n", documentationText cursorText])
333333
else pure $ foundHover (Nothing, [cursorText])
334334

335335
-- TODO get package description and use `allBuildDepends` to check if hover is on a dependency

0 commit comments

Comments
 (0)