shutdown request

This commit is contained in:
Alexander Bentkamp
2023-12-15 22:09:01 +01:00
parent 818c932496
commit f871078869
+3
View File
@@ -555,6 +555,9 @@ section MainLoop
let doc := st.doc
doc.cancelTk.set
return ()
| Message.request id "shutdown" none =>
ctx.hOut.writeLspResponse ⟨id, Json.null⟩
mainLoop
| Message.notification "$/game/setInventory" params =>
let p := (← parseParams Game.SetInventoryParams (toJson params))
let s ← get