diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-06-11 21:06:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 21:06:43 +0100 |
commit | 3b9eeba02c65326023df077a6997fd13b22d1f3a (patch) | |
tree | 61f65fc5b374a8ca33dc2f3a17d3e65865ca3c98 /cli/lsp/config.rs | |
parent | 0c199acb88c085d30403fa2fd80b63f7994e2f10 (diff) |
fix(lsp): don't sort workspace files (#24180)
Diffstat (limited to 'cli/lsp/config.rs')
-rw-r--r-- | cli/lsp/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index 75e0cd6bc..75433ad8a 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -35,10 +35,10 @@ use deno_runtime::fs_util::specifier_to_file_path; use deno_semver::package::PackageNv; use deno_semver::Version; use import_map::ImportMap; +use indexmap::IndexSet; use lsp::Url; use lsp_types::ClientCapabilities; use std::collections::BTreeMap; -use std::collections::BTreeSet; use std::collections::HashMap; use std::path::PathBuf; use std::sync::Arc; @@ -1675,7 +1675,7 @@ impl ConfigTree { pub async fn refresh( &mut self, settings: &Settings, - workspace_files: &BTreeSet<ModuleSpecifier>, + workspace_files: &IndexSet<ModuleSpecifier>, file_fetcher: &Arc<FileFetcher>, ) { lsp_log!("Refreshing configuration tree..."); |