Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit c3c70af

Browse files
authored
Merge pull request #1169 from fendor/enable-type-definition-request
Enable TypeDefinition Requests
2 parents fbb7574 + b80fe73 commit c3c70af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Haskell/Ide/Engine/Transport/LspStdio.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ hieOptions :: [T.Text] -> Core.Options
965965
hieOptions commandIds =
966966
def { Core.textDocumentSync = Just syncOptions
967967
, Core.completionProvider = Just (J.CompletionOptions (Just True) (Just ["."]))
968+
, Core.typeDefinitionProvider = Just (J.GotoOptionsStatic True)
968969
-- As of 2018-05-24, vscode needs the commands to be registered
969970
-- otherwise they will not be available as codeActions (will be
970971
-- silently ignored, despite UI showing to the contrary).

0 commit comments

Comments
 (0)