Skip to content

Commit 109f04c

Browse files
committed
docs
1 parent 729b4e8 commit 109f04c

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,11 @@ gotoDefinition ideState _ msgParam = do
317317
isSectionArgName name (Syntax.Section _ sectionArgName _) = name == CabalFields.onelineSectionArgs sectionArgName
318318
isSectionArgName _ _ = False
319319

320+
-- | CodeActions for hover messages.
321+
--
322+
-- Provides a CodeAction for displaying message on hover.
323+
-- If found that the filtered hover message is a dependency,
324+
-- adds a Documentation link.
320325
hover :: PluginMethodHandler IdeState LSP.Method_TextDocumentHover
321326
hover ide _ msgParam = do
322327
nfp <- getNormalizedFilePathE uri

0 commit comments

Comments
 (0)