Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix warning

Mikayla Maki1fa52adabd5a
diff --git a/assets/settings/default.json b/assets/settings/default.json
index 454aedfd563..b12bd00efa7 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -206,7 +206,10 @@
// particularly if they use box characters
// "line_height": "standard",
// 3. Use a custom line height.
- // "line_height": 1.2,
+ // "line_height": {
+ // "custom": 2
+ // },
+ //
"line_height": "comfortable"
// Set the terminal's font size. If this option is not included,
// the terminal will default to matching the buffer's font size.
diff --git a/crates/settings/src/settings.rs b/crates/settings/src/settings.rs
index 5c3ee7180b8..f2082be6bb0 100644
--- a/crates/settings/src/settings.rs
+++ b/crates/settings/src/settings.rs
@@ -12,7 +12,7 @@ use schemars::{
schema::{InstanceType, ObjectValidation, Schema, SchemaObject, SingleOrVec},
JsonSchema,
};
-use serde::{de::DeserializeOwned, Deserialize, Deserializer, Serialize};
+use serde::{de::DeserializeOwned, Deserialize, Serialize};
use serde_json::Value;
use sqlez::{
bindable::{Bind, Column, StaticColumnCount},