Remove panic when programatically updating an invalid setting
This commit is contained in:
parent
5e68dc5c92
commit
1cd11bfe66
2 changed files with 32 additions and 41 deletions
|
@ -7272,7 +7272,7 @@ impl Editor {
|
|||
|
||||
let vim_mode = cx
|
||||
.global::<SettingsStore>()
|
||||
.untyped_user_settings()
|
||||
.raw_user_settings()
|
||||
.get("vim_mode")
|
||||
== Some(&serde_json::Value::Bool(true));
|
||||
let telemetry_settings = *settings::get::<TelemetrySettings>(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue