refactor(lsp): migrate from lspower back to tower-lsp (#14163)

This commit is contained in:
Jason 2022-04-03 12:17:30 +08:00 committed by GitHub
parent 6c25b5135d
commit a6e4b4297d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 253 additions and 228 deletions

View file

@ -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