Fix crashes when running zed bundled
This commit is contained in:
parent
a9b107f155
commit
5c437e2098
2 changed files with 5 additions and 10 deletions
|
@ -118,7 +118,7 @@ impl LspAdapter for JsonLspAdapter {
|
|||
cx: &mut AppContext,
|
||||
) -> Option<BoxFuture<'static, serde_json::Value>> {
|
||||
let action_names = cx.all_action_names().collect::<Vec<_>>();
|
||||
let staff_mode = cx.global::<StaffMode>().0;
|
||||
let staff_mode = cx.default_global::<StaffMode>().0;
|
||||
let language_names = &self.languages.language_names();
|
||||
let settings_schema = cx.global::<SettingsStore>().json_schema(
|
||||
&SettingsJsonSchemaParams {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue