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 bcd9443 commit 5f6fc39Copy full SHA for 5f6fc39
crates/ruff_server/src/session/capabilities.rs
@@ -37,18 +37,12 @@ impl ResolvedClientCapabilities {
37
.and_then(|workspace_edit| workspace_edit.document_changes)
38
.unwrap_or_default();
39
40
- let workspace_refresh = true;
41
-
42
- // TODO(jane): Once the bug involving workspace.diagnostic(s) deserialization has been fixed,
43
- // uncomment this.
44
- /*
45
let workspace_refresh = client_capabilities
46
.workspace
47
.as_ref()
48
- .and_then(|workspace| workspace.diagnostic.as_ref())
+ .and_then(|workspace| workspace.diagnostics.as_ref())
49
.and_then(|diagnostic| diagnostic.refresh_support)
50
51
- */
52
53
let pull_diagnostics = client_capabilities
54
.text_document
0 commit comments