diff options
author | Aleksey Kladov <[email protected]> | 2019-12-11 17:27:34 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-11 17:27:34 +0000 |
commit | 1e0bf205eff81f04c0e1e6c208c3489327520c3f (patch) | |
tree | f6f2269e3669973c7a6e36e76eed2ba442f051fd /crates/ra_lsp_server/src/main_loop.rs | |
parent | eb5cd34e8f22c6e474ef0177083089f7a56ef74c (diff) |
Revert "Support LSP 3.15"
This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1.
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 158cac0be..83845f1e0 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -520,8 +520,7 @@ fn on_notification( | |||
520 | if let Some(file_id) = state.vfs.write().remove_file_overlay(path.as_path()) { | 520 | if let Some(file_id) = state.vfs.write().remove_file_overlay(path.as_path()) { |
521 | subs.remove_sub(FileId(file_id.0)); | 521 | subs.remove_sub(FileId(file_id.0)); |
522 | } | 522 | } |
523 | let params = | 523 | let params = req::PublishDiagnosticsParams { uri, diagnostics: Vec::new() }; |
524 | req::PublishDiagnosticsParams { uri, diagnostics: Vec::new(), version: None }; | ||
525 | let not = notification_new::<req::PublishDiagnostics>(params); | 524 | let not = notification_new::<req::PublishDiagnostics>(params); |
526 | msg_sender.send(not.into()).unwrap(); | 525 | msg_sender.send(not.into()).unwrap(); |
527 | return Ok(()); | 526 | return Ok(()); |