Skip to content

Commit 58b7a52

Browse files
committed
fix: enable gotoImplementation handler in GhcIde plugin
1 parent fa0d4de commit 58b7a52

File tree

1 file changed

+2
-2
lines changed
  • ghcide/src/Development/IDE/Plugin/HLS

1 file changed

+2
-2
lines changed

ghcide/src/Development/IDE/Plugin/HLS/GhcIde.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ descriptor recorder plId = (defaultPluginDescriptor plId desc)
5151
Hover.gotoDefinition recorder ide TextDocumentPositionParams{..})
5252
<> mkPluginHandler SMethod_TextDocumentTypeDefinition (\ide _ TypeDefinitionParams{..} ->
5353
Hover.gotoTypeDefinition recorder ide TextDocumentPositionParams{..})
54-
-- <> mkPluginHandler SMethod_TextDocumentImplementation (\ide _ ImplementationParams{..} ->
55-
-- Hover.gotoImplementation recorder ide TextDocumentPositionParams{..})
54+
<> mkPluginHandler SMethod_TextDocumentImplementation (\ide _ ImplementationParams{..} ->
55+
Hover.gotoImplementation recorder ide TextDocumentPositionParams{..})
5656
<> mkPluginHandler SMethod_TextDocumentDocumentHighlight (\ide _ DocumentHighlightParams{..} ->
5757
Hover.documentHighlight recorder ide TextDocumentPositionParams{..})
5858
<> mkPluginHandler SMethod_TextDocumentReferences (Hover.references recorder)

0 commit comments

Comments
 (0)