src/Palete/LanguageClientVala.vala
authorAlan <alan@roojs.com>
Fri, 9 Feb 2024 05:19:23 +0000 (13:19 +0800)
committerAlan <alan@roojs.com>
Fri, 9 Feb 2024 05:19:23 +0000 (13:19 +0800)
src/Palete/LanguageClientVala.vala

index 8173b01..2f8474b 100644 (file)
@@ -54,7 +54,12 @@ namespace Palete {
                                if (this.change_queue_file == null) {
                                        return true;
                                }
+                               if (this.getting_diagnostics) {
+                                       return true;
+                               }
                                this.countdown--;
+
+                       
                                if (this.countdown < 0){
                                        this.document_change_force.begin(this.change_queue_file,  this.change_queue_file_source, (o, res) => {
                                                this.document_change_force.end(res);