Skip to content

Commit

Permalink
(lsp) enable incremental text-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Dec 19, 2024
1 parent 77dea83 commit 39eb484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/hdx_lsp/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 39eb484

Please sign in to comment.