Skip to content

Commit 85c018f

Browse files
authored
Do not announce diagnostic_provider capability (#86)
The `diagnostic_provider` capability should be announced when a language server supports the pull-mode for diagnostics.
1 parent 1972acc commit 85c018f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

crates/codebook-lsp/src/lsp.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@ impl LanguageServer for Backend {
100100
},
101101
},
102102
)),
103-
diagnostic_provider: Some(DiagnosticServerCapabilities::Options(
104-
DiagnosticOptions {
105-
identifier: Some(SOURCE_NAME.to_string()),
106-
..DiagnosticOptions::default()
107-
},
108-
)),
109103
..ServerCapabilities::default()
110104
},
111105
server_info: Some(ServerInfo {

0 commit comments

Comments
 (0)