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

@ -18,14 +18,14 @@ use deno_core::serde_json::json;
use deno_core::serde_json::Value;
use deno_core::ModuleSpecifier;
use deno_runtime::tokio_util::create_basic_runtime;
use lspower::jsonrpc::Error as LspError;
use lspower::jsonrpc::Result as LspResult;
use lspower::lsp;
use std::collections::HashMap;
use std::collections::HashSet;
use std::sync::Arc;
use std::thread;
use tokio::sync::mpsc;
use tower_lsp::jsonrpc::Error as LspError;
use tower_lsp::jsonrpc::Result as LspResult;
use tower_lsp::lsp_types as lsp;
fn as_delete_notification(uri: ModuleSpecifier) -> TestingNotification {
TestingNotification::DeleteModule(