Skip to content

Commit 6763b67

Browse files
committed
[ fix ] Add more dummy handler for STextDocumentDidSave & STextDocumentDidChange notifications
1 parent bb543d3 commit 6763b67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Server.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ handlers =
110110
result <- Handler.onHover uri pos
111111
responder $ Right result,
112112
notificationHandler SInitialized $ \_not -> pure (),
113-
notificationHandler STextDocumentDidOpen $ \_not -> pure ()
113+
notificationHandler STextDocumentDidOpen $ \_not -> pure (),
114+
notificationHandler STextDocumentDidSave $ \_not -> pure (),
115+
notificationHandler STextDocumentDidChange $ \_not -> pure ()
114116
-- -- syntax highlighting
115117
-- , requestHandler STextD_cumentSemanticTokensFull $ \req responder -> do
116118
-- result <- Handler.onHighlight (req ^. (params . textDocument . uri))

0 commit comments

Comments
 (0)