We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15de338 commit 191abf3Copy full SHA for 191abf3
crates/rust-analyzer/src/caps.rs
@@ -17,10 +17,10 @@ pub fn server_capabilities() -> ServerCapabilities {
17
ServerCapabilities {
18
text_document_sync: Some(TextDocumentSyncCapability::Options(TextDocumentSyncOptions {
19
open_close: Some(true),
20
- change: Some(if env::var("RA_PROFILE").is_ok() {
21
- TextDocumentSyncKind::Incremental
22
- } else {
+ change: Some(if env::var("RA_NO_INCREMENTAL_SYNC").is_ok() {
23
TextDocumentSyncKind::Full
+ } else {
+ TextDocumentSyncKind::Incremental
24
}),
25
will_save: None,
26
will_save_wait_until: None,
0 commit comments