Skip to content

Commit 39eb484

Browse files
committed
(lsp) enable incremental text-sync
1 parent 77dea83 commit 39eb484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hdx_lsp/src/service.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl Handler for LSPService {
153153
text_document_sync: Some(lsp_types::TextDocumentSyncCapability::Options(
154154
lsp_types::TextDocumentSyncOptions {
155155
open_close: Some(true),
156-
change: Some(lsp_types::TextDocumentSyncKind::FULL),
156+
change: Some(lsp_types::TextDocumentSyncKind::INCREMENTAL),
157157
will_save: Some(true),
158158
will_save_wait_until: Some(false),
159159
save: Some(lsp_types::TextDocumentSyncSaveOptions::Supported(false)),

0 commit comments

Comments
 (0)