mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
eval_cli: Set global filesystem in eval CLI init (#55862)
Some dependency started requiring this, so fixing some runtime errors. Release Notes: - N/A
This commit is contained in:
parent
cc279a46fa
commit
9a679b3226
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ pub fn init(cx: &mut App) -> Arc<AgentCliAppState> {
|
|||
git_binary_path,
|
||||
cx.background_executor().clone(),
|
||||
));
|
||||
<dyn fs::Fs>::set_global(fs.clone(), cx);
|
||||
|
||||
let mut languages = LanguageRegistry::new(cx.background_executor().clone());
|
||||
languages.set_language_server_download_dir(paths::languages_dir().clone());
|
||||
|
|
|
|||
Loading…
Reference in a new issue