File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
ghcide/src/Development/IDE/LSP Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ import Language.LSP.Types
24
24
25
25
import qualified Data.Text as T
26
26
27
- gotoDefinition :: IdeState -> TextDocumentPositionParams -> LSP. LspM c (Either ResponseError (ResponseResult TextDocumentDefinition ))
28
- hover :: IdeState -> TextDocumentPositionParams -> LSP. LspM c (Either ResponseError (Maybe Hover ))
27
+ gotoDefinition :: IdeState -> TextDocumentPositionParams -> LSP. LspM c (Either ResponseError (ResponseResult TextDocumentDefinition ))
28
+ hover :: IdeState -> TextDocumentPositionParams -> LSP. LspM c (Either ResponseError (Maybe Hover ))
29
29
gotoTypeDefinition :: IdeState -> TextDocumentPositionParams -> LSP. LspM c (Either ResponseError (ResponseResult TextDocumentTypeDefinition ))
30
- documentHighlight :: IdeState -> TextDocumentPositionParams -> LSP. LspM c (Either ResponseError (List DocumentHighlight ))
31
- gotoDefinition = request " Definition" getDefinition (InR $ InL $ List [] ) (InR . InL . List )
32
- gotoTypeDefinition = request " TypeDefinition" getTypeDefinition (InR $ InL $ List [] ) (InR . InL . List )
33
- hover = request " Hover" getAtPoint Nothing foundHover
34
- documentHighlight = request " DocumentHighlight" highlightAtPoint (List [] ) List
30
+ documentHighlight :: IdeState -> TextDocumentPositionParams -> LSP. LspM c (Either ResponseError (List DocumentHighlight ))
31
+ gotoDefinition = request " Definition" getDefinition (InR $ InL $ List [] ) (InR . InL . List )
32
+ gotoTypeDefinition = request " TypeDefinition" getTypeDefinition (InR $ InL $ List [] ) (InR . InL . List )
33
+ hover = request " Hover" getAtPoint Nothing foundHover
34
+ documentHighlight = request " DocumentHighlight" highlightAtPoint (List [] ) List
35
35
36
36
references :: IdeState -> ReferenceParams -> LSP. LspM c (Either ResponseError (List Location ))
37
37
references ide (ReferenceParams (TextDocumentIdentifier uri) pos _ _ _) = liftIO $
You can’t perform that action at this time.
0 commit comments