change document_save and document_change_real to async
authorAlan Knowles <alan@roojs.com>
Sun, 28 Jan 2024 03:53:08 +0000 (11:53 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 28 Jan 2024 03:53:08 +0000 (11:53 +0800)
src/Palete/LanguageClientVala.vala

index a7b9146..fe37445 100644 (file)
@@ -335,7 +335,7 @@ namespace Palete {
                        
                         
                         
-                                 this.jsonrpc_client.send_notification  (
+                                 yield this.jsonrpc_client.send_notification_async  (
                                        "textDocument/didSave",
                                        args,
                                        null