From 1fa52adabd5a1886f78c9016ceb0a8f573bf6031 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Thu, 20 Apr 2023 17:34:47 -0700 Subject: [PATCH] Fix warning --- assets/settings/default.json | 5 ++++- crates/settings/src/settings.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/settings/default.json b/assets/settings/default.json index 454aedfd56..b12bd00efa 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 5c3ee7180b..f2082be6bb 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},