on master help sign in
Add an ide-debug-driver to make it easier to find leaks (#2472)
commit92e62ea483249b492a07884e4e2c856d2e5d27fb authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org> dateFri 9 Aug 2019, 12:48 (7 years ago) parentcc97e1e
1 file changed−2
src/Development/IDE/LSP/Notifications.hs−2
src/Development/IDE/LSP/Notifications.hs−2
@@ -32,7 +32,6 @@ setHandlersNotifications = PartialHandlers $ \WithMessage{..} x -> return x
3232 {LSP.didOpenTextDocumentNotificationHandler = withNotification (LSP.didOpenTextDocumentNotificationHandler x) $
3333 \_ ide (DidOpenTextDocumentParams TextDocumentItem{_uri,_version}) -> do
3434 updatePositionMapping ide (VersionedTextDocumentIdentifier _uri (Just _version)) (List [])
35− setSomethingModified ide
3635 whenUriFile _uri $ \file -> do
3736 modifyFilesOfInterest ide (S.insert file)
3837 logInfo (ideLogger ide) $ "Opened text document: " <> getUri _uri
@@ -50,7 +49,6 @@ setHandlersNotifications = PartialHandlers $ \WithMessage{..} x -> return x
5049
5150 ,LSP.didCloseTextDocumentNotificationHandler = withNotification (LSP.didCloseTextDocumentNotificationHandler x) $
5251 \_ ide (DidCloseTextDocumentParams TextDocumentIdentifier{_uri}) -> do
53− setSomethingModified ide
5452 whenUriFile _uri $ \file -> do
5553 modifyFilesOfInterest ide (S.delete file)
5654 logInfo (ideLogger ide) $ "Closed text document: " <> getUri _uri