X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=example%2FMain.hs;fp=example%2FMain.hs;h=d66e17e11075f0f018e7ee8a37eaf4410734212a;hb=f1238f8db54eafbf0e3352140818875ad4cfd997;hp=5aaa2d13abee6adb516dcfece381e3cd215d1e50;hpb=c78547478baf6c47849921fa8e1c391472685e99;p=lsp-test.git diff --git a/example/Main.hs b/example/Main.hs index 5aaa2d1..d66e17e 100644 --- a/example/Main.hs +++ b/example/Main.hs @@ -13,5 +13,6 @@ main = runSession "test/recordings/renamePass" $ do sendRequest (Proxy :: Proxy DocumentSymbolRequest) TextDocumentDocumentSymbol (DocumentSymbolParams docId) - syms <- getMessage :: Session DocumentSymbolsResponse - liftIO $ print syms \ No newline at end of file + skipMany loggingNotification + + response >>= liftIO . print \ No newline at end of file