Add lspConfig option
[opengl.git] / src / Language / Haskell / LSP / Test.hs
index e4c3aea8188b9c865aaf19b4bac6b4f706dabf23..1765c1f6a624ce7dee5aa571ee55109b3419e3fa 100644 (file)
@@ -155,6 +155,10 @@ runSessionWithConfig config serverExe caps rootDir session = do
 
       sendNotification Initialized InitializedParams
 
+      case lspConfig config of
+        Just cfg -> sendNotification WorkspaceDidChangeConfiguration (DidChangeConfigurationParams cfg)
+        Nothing -> return ()
+
       -- Run the actual test
       result <- session