From 39eb484c8a7bec729ef3060ca49744fec03937e9 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 19 Dec 2024 19:50:57 +0000 Subject: [PATCH] (lsp) enable incremental text-sync --- crates/hdx_lsp/src/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hdx_lsp/src/service.rs b/crates/hdx_lsp/src/service.rs index 2272133d..ff69717a 100644 --- a/crates/hdx_lsp/src/service.rs +++ b/crates/hdx_lsp/src/service.rs @@ -153,7 +153,7 @@ impl Handler for LSPService { text_document_sync: Some(lsp_types::TextDocumentSyncCapability::Options( lsp_types::TextDocumentSyncOptions { open_close: Some(true), - change: Some(lsp_types::TextDocumentSyncKind::FULL), + change: Some(lsp_types::TextDocumentSyncKind::INCREMENTAL), will_save: Some(true), will_save_wait_until: Some(false), save: Some(lsp_types::TextDocumentSyncSaveOptions::Supported(false)),