aboutsummaryrefslogtreecommitdiff
path: root/crates/gen_lsp_server/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/gen_lsp_server/src/lib.rs')
-rw-r--r--crates/gen_lsp_server/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/gen_lsp_server/src/lib.rs b/crates/gen_lsp_server/src/lib.rs
index 16ac799ac..edbdda6c8 100644
--- a/crates/gen_lsp_server/src/lib.rs
+++ b/crates/gen_lsp_server/src/lib.rs
@@ -6,12 +6,12 @@
6//! 6//!
7//! ```no_run 7//! ```no_run
8//! extern crate gen_lsp_server; 8//! extern crate gen_lsp_server;
9//! extern crate languageserver_types; 9//! extern crate lsp_types;
10//! extern crate failure; 10//! extern crate failure;
11//! extern crate crossbeam_channel; 11//! extern crate crossbeam_channel;
12//! 12//!
13//! use crossbeam_channel::{Sender, Receiver}; 13//! use crossbeam_channel::{Sender, Receiver};
14//! use languageserver_types::{ServerCapabilities, InitializeParams, request::{GotoDefinition, GotoDefinitionResponse}}; 14//! use lsp_types::{ServerCapabilities, InitializeParams, request::{GotoDefinition, GotoDefinitionResponse}};
15//! use gen_lsp_server::{run_server, stdio_transport, handle_shutdown, RawMessage, RawResponse}; 15//! use gen_lsp_server::{run_server, stdio_transport, handle_shutdown, RawMessage, RawResponse};
16//! 16//!
17//! fn main() -> Result<(), failure::Error> { 17//! fn main() -> Result<(), failure::Error> {
@@ -65,7 +65,7 @@ mod msg;
65mod stdio; 65mod stdio;
66 66
67use crossbeam_channel::{Receiver, Sender}; 67use crossbeam_channel::{Receiver, Sender};
68use languageserver_types::{ 68use lsp_types::{
69 notification::{Exit, Initialized}, 69 notification::{Exit, Initialized},
70 request::{Initialize, Shutdown}, 70 request::{Initialize, Shutdown},
71 InitializeParams, InitializeResult, ServerCapabilities, 71 InitializeParams, InitializeResult, ServerCapabilities,