src/Palete/LanguageClient.vala
authorAlan <alan@roojs.com>
Thu, 11 Jan 2024 11:16:42 +0000 (19:16 +0800)
committerAlan <alan@roojs.com>
Thu, 11 Jan 2024 11:16:42 +0000 (19:16 +0800)
src/Palete/LanguageClient.vala

index 7293691..b33b48f 100644 (file)
@@ -116,7 +116,7 @@ namespace Palete {
                
                public void onNotification(string method, Variant? return_value)
                {
-               
+                       GLib.debug("got notification %s : %s",  method , Json.to_string (Json.gvariant_serialize (return_value), true));
                        switch (method) {
                                case "textDocument/publishDiagnostics":
                                        this.onDiagnostic(return_value);
@@ -126,7 +126,7 @@ namespace Palete {
                                        break;
                                 
                        }
-                       GLib.debug("got notification %s : %s",  method , Json.to_string (Json.gvariant_serialize (return_value), true));
+                       
                        
                }