From 1e0bf205eff81f04c0e1e6c208c3489327520c3f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 11 Dec 2019 18:27:34 +0100 Subject: Revert "Support LSP 3.15" This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1. --- crates/ra_lsp_server/src/main_loop.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/ra_lsp_server/src/main_loop.rs') 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( if let Some(file_id) = state.vfs.write().remove_file_overlay(path.as_path()) { subs.remove_sub(FileId(file_id.0)); } - let params = - req::PublishDiagnosticsParams { uri, diagnostics: Vec::new(), version: None }; + let params = req::PublishDiagnosticsParams { uri, diagnostics: Vec::new() }; let not = notification_new::(params); msg_sender.send(not.into()).unwrap(); return Ok(()); -- cgit v1.2.3