X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=blobdiff_plain;f=example%2FMain.hs;h=fc453db39cdb032a98cb0c468e697167816458cf;hp=0c8ae9ff821618ee85f198decd3170e199e391ed;hb=bc52b000bf018360efbfa0fcd289329c70d2c77e;hpb=4eb97ef8a3d4b3908fa9b5bbbd5ae77cfa95cecc diff --git a/example/Main.hs b/example/Main.hs index 0c8ae9f..fc453db 100644 --- a/example/Main.hs +++ b/example/Main.hs @@ -11,8 +11,8 @@ main = runSession "hie" "test/recordings/renamePass" $ do sendNotification TextDocumentDidOpen (DidOpenTextDocumentParams docItem) - sendRequest (Proxy :: Proxy DocumentSymbolRequest) TextDocumentDocumentSymbol (DocumentSymbolParams docId) + sendRequest TextDocumentDocumentSymbol (DocumentSymbolParams docId) skipMany loggingNotification - response >>= liftIO . print + anyResponse >>= liftIO . print