diff options
author | Jason <m.jason.liu@outlook.com> | 2022-04-03 12:17:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 14:17:30 +1000 |
commit | a6e4b4297d840e9cfe4bdf373f24da8202f58e2d (patch) | |
tree | 9de6209eaa5affc810bc5bd9d7cc65384d55a9f3 /cli/lsp/text.rs | |
parent | 6c25b5135dfa6d9be35f6993e4b43d442977eff9 (diff) |
refactor(lsp): migrate from lspower back to tower-lsp (#14163)
Diffstat (limited to 'cli/lsp/text.rs')
-rw-r--r-- | cli/lsp/text.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/lsp/text.rs b/cli/lsp/text.rs index 9a99624fa..64721ebc7 100644 --- a/cli/lsp/text.rs +++ b/cli/lsp/text.rs @@ -6,14 +6,14 @@ use deno_core::serde_json::json; use deno_core::serde_json::Value; use dissimilar::diff; use dissimilar::Chunk; -use lspower::jsonrpc; -use lspower::lsp; -use lspower::lsp::TextEdit; use std::collections::HashMap; use std::ops::Bound; use std::ops::RangeBounds; use text_size::TextRange; use text_size::TextSize; +use tower_lsp::jsonrpc; +use tower_lsp::lsp_types as lsp; +use tower_lsp::lsp_types::TextEdit; fn partition_point<T, P>(slice: &[T], mut predicate: P) -> usize where |