feat(lsp): support import maps (#8683)

This commit is contained in:
Kitson Kelly 2020-12-10 06:50:47 +11:00 committed by GitHub
parent b6dd850f71
commit 95a6698cac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 202 additions and 25 deletions

View file

@ -4,6 +4,7 @@ use deno_core::error::AnyError;
use deno_core::serde::Deserialize;
use deno_core::serde_json;
use deno_core::serde_json::Value;
use deno_core::url::Url;
#[derive(Debug, Clone, Default)]
pub struct ClientCapabilities {
@ -23,6 +24,7 @@ pub struct WorkspaceSettings {
#[derive(Debug, Clone, Default)]
pub struct Config {
pub client_capabilities: ClientCapabilities,
pub root_uri: Option<Url>,
pub settings: WorkspaceSettings,
}