Add getDefinitions
[lsp-test.git] / README.md
index f866ccfcc30af7ff000583314e73bae5813aaefb..dd715067b74e46686c53ab3e4a7415ccf9009fac 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,9 +7,8 @@ runSession "session/root/dir" $ do
   
   skipMany notification
 
-  sendRequest (Proxy :: Proxy DocumentSymbolRequest)
-              TextDocumentDocumentSymbol
-              (DocumentSymbolParams doc)
+  symbols <- getDocumentSymbols doc
+```
 
-  RspDocumentSymbols rspSymbols <- response
-  let (List symbols) = fromJust (rspSymbols ^. result)
+## Developing
+To test make sure you have [haskell-ide-engine](https://github.com/haskell/haskell-ide-engine) installed.