Add initialWorkspaceFolders config option
[lsp-test.git] / src / Language / Haskell / LSP / Test.hs
index 7f13a44bfd4627b55610a8b6c9f9e18bbceada73..2f99b19c54c26675edac9f6a874b8b404dbf32e1 100644 (file)
@@ -197,7 +197,7 @@ runSessionWithHandles' serverProc serverIn serverOut config' caps rootDir sessio
                                           Nothing
                                           caps
                                           (Just TraceOff)
-                                          Nothing
+                                          (List <$> initialWorkspaceFolders config)
   runSession' serverIn serverOut serverProc listenServer config caps rootDir exitServer $ do
     -- Wrap the session around initialize and shutdown calls
     -- initRspMsg <- sendRequest Initialize initializeParams :: Session InitializeResponse