fix: avoid incremental syncing

Basically, this LSP server diagnose code when saved
This commit is contained in:
kbwo 2025-01-29 22:50:01 +09:00
parent 48af0e012c
commit df261d6756

View file

@ -128,9 +128,7 @@ impl TestingLS {
workspace_diagnostics: true,
work_done_progress_options: WorkDoneProgressOptions::default(),
})),
text_document_sync: Some(TextDocumentSyncCapability::Kind(
TextDocumentSyncKind::INCREMENTAL,
)),
text_document_sync: Some(TextDocumentSyncCapability::Kind(TextDocumentSyncKind::NONE)),
..ServerCapabilities::default()
}
}