diff --git a/src/Server.hs b/src/Server.hs index 7ca31a0..2de1a5a 100644 --- a/src/Server.hs +++ b/src/Server.hs @@ -112,7 +112,8 @@ handlers = notificationHandler SInitialized $ \_not -> pure (), notificationHandler STextDocumentDidOpen $ \_not -> pure (), notificationHandler STextDocumentDidSave $ \_not -> pure (), - notificationHandler STextDocumentDidChange $ \_not -> pure () + notificationHandler STextDocumentDidChange $ \_not -> pure (), + notificationHandler SCancelRequest $ \_not -> pure () -- -- syntax highlighting -- , requestHandler STextD_cumentSemanticTokensFull $ \req responder -> do -- result <- Handler.onHighlight (req ^. (params . textDocument . uri))