Skip to content

Commit

Permalink
[ fix ] Add dummy handler for SCancelRequest notifications (hope that…
Browse files Browse the repository at this point in the history
… this is the last one we need)
  • Loading branch information
banacorn committed Dec 9, 2023
1 parent 6763b67 commit 85d8292
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Server.hs
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit 85d8292

Please sign in to comment.