python: Install basedpyright if the basedpyright-langserver binary is missing (#38426)
Potential fix for #38377 Release Notes: - N/A --------- Co-authored-by: Peter Tripp <petertripp@gmail.com>
This commit is contained in:
co-authored by
Peter Tripp
parent
c58763a526
commit
5fccde9b1b
@@ -55,7 +55,7 @@ use std::{
|
||||
str,
|
||||
sync::{
|
||||
Arc, LazyLock,
|
||||
atomic::{AtomicU64, AtomicUsize, Ordering::SeqCst},
|
||||
atomic::{AtomicUsize, Ordering::SeqCst},
|
||||
},
|
||||
};
|
||||
use syntax_map::{QueryCursorHandle, SyntaxSnapshot};
|
||||
@@ -168,7 +168,6 @@ pub struct CachedLspAdapter {
|
||||
pub disk_based_diagnostics_progress_token: Option<String>,
|
||||
language_ids: HashMap<LanguageName, String>,
|
||||
pub adapter: Arc<dyn LspAdapter>,
|
||||
pub reinstall_attempt_count: AtomicU64,
|
||||
cached_binary: ServerBinaryCache,
|
||||
}
|
||||
|
||||
@@ -185,7 +184,6 @@ impl Debug for CachedLspAdapter {
|
||||
&self.disk_based_diagnostics_progress_token,
|
||||
)
|
||||
.field("language_ids", &self.language_ids)
|
||||
.field("reinstall_attempt_count", &self.reinstall_attempt_count)
|
||||
.finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
@@ -204,7 +202,6 @@ impl CachedLspAdapter {
|
||||
language_ids,
|
||||
adapter,
|
||||
cached_binary: Default::default(),
|
||||
reinstall_attempt_count: AtomicU64::new(0),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user