diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2021-05-10 11:16:04 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 11:16:04 +1000 |
commit | 84733d90c7cf9b6768acf78f4204b2293f2d1bc0 (patch) | |
tree | 77b46b8c22a441895205d8898bb27a41c20bdf51 /cli/lsp/urls.rs | |
parent | 33b1a6ed617a9e3f9448d6699f6fca8af7330c80 (diff) |
feat: support workspace folders configuration (#10488)
Ref #8643
Diffstat (limited to 'cli/lsp/urls.rs')
-rw-r--r-- | cli/lsp/urls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/urls.rs b/cli/lsp/urls.rs index 559f1652a..49049b535 100644 --- a/cli/lsp/urls.rs +++ b/cli/lsp/urls.rs @@ -54,7 +54,7 @@ fn hash_data_specifier(specifier: &ModuleSpecifier) -> String { /// A bi-directional map of URLs sent to the LSP client and internal module /// specifiers. We need to map internal specifiers into `deno:` schema URLs /// to allow the Deno language server to manage these as virtual documents. -#[derive(Debug, Default)] +#[derive(Debug, Default, Clone)] pub struct LspUrlMap { specifier_to_url: HashMap<ModuleSpecifier, Url>, url_to_specifier: HashMap<Url, ModuleSpecifier>, |