Close VFS when needed
[opengl.git] / src / Language / Haskell / LSP / Test / Session.hs
index db8bef5513e2c1e5dad7462d11ff52d400aaa21e..9868b5c029a6f7a6d823c3b2522fc604f5376049 100644 (file)
@@ -130,6 +130,7 @@ processTextChanges (ReqApplyWorkspaceEdit r) = do
   let groupedParams = groupBy (\a b -> (a ^. textDocument == b ^. textDocument)) changeParams
       mergedParams = map mergeParams groupedParams
 
+  -- TODO: Don't do this when replaying a session
   forM_ mergedParams $ \p -> do
     h <- serverIn <$> lift (lift Reader.ask)
     let msg = NotificationMessage "2.0" TextDocumentDidChange p