Skip to content

Commit 85d8292

Browse files
committed
[ fix ] Add dummy handler for SCancelRequest notifications (hope that this is the last one we need)
1 parent 6763b67 commit 85d8292

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Server.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ handlers =
112112
notificationHandler SInitialized $ \_not -> pure (),
113113
notificationHandler STextDocumentDidOpen $ \_not -> pure (),
114114
notificationHandler STextDocumentDidSave $ \_not -> pure (),
115-
notificationHandler STextDocumentDidChange $ \_not -> pure ()
115+
notificationHandler STextDocumentDidChange $ \_not -> pure (),
116+
notificationHandler SCancelRequest $ \_not -> pure ()
116117
-- -- syntax highlighting
117118
-- , requestHandler STextD_cumentSemanticTokensFull $ \req responder -> do
118119
-- result <- Handler.onHighlight (req ^. (params . textDocument . uri))

0 commit comments

Comments
 (0)