From 1b82084a5f28506134c668a67d2759ef22be6a80 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 8 Jan 2019 20:31:43 +0300 Subject: dont depend on ra_editor directly --- crates/ra_lsp_server/Cargo.toml | 1 - crates/ra_lsp_server/src/conv.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/ra_lsp_server') diff --git a/crates/ra_lsp_server/Cargo.toml b/crates/ra_lsp_server/Cargo.toml index 8bd4caa53..b9fd61105 100644 --- a/crates/ra_lsp_server/Cargo.toml +++ b/crates/ra_lsp_server/Cargo.toml @@ -28,7 +28,6 @@ parking_lot = "0.7.0" thread_worker = { path = "../thread_worker" } ra_syntax = { path = "../ra_syntax" } -ra_editor = { path = "../ra_editor" } ra_text_edit = { path = "../ra_text_edit" } ra_analysis = { path = "../ra_analysis" } gen_lsp_server = { path = "../gen_lsp_server" } diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs index e8eb3940f..b3f8c83cc 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/ra_lsp_server/src/conv.rs @@ -7,8 +7,8 @@ use languageserver_types::{ use ra_analysis::{ CompletionItem, CompletionItemKind, FileId, FilePosition, FileRange, FileSystemEdit, InsertText, NavigationTarget, SourceChange, SourceFileEdit, + LineCol, LineIndex, translate_offset_with_edit }; -use ra_editor::{translate_offset_with_edit, LineCol, LineIndex}; use ra_syntax::{SyntaxKind, TextRange, TextUnit}; use ra_text_edit::{AtomTextEdit, TextEdit}; -- cgit v1.2.3