Cleanup default.json (#39986)

Closes #ISSUE

Annotated our `default.json` with `$schema` to get diagnostics, then
fixed the non-language not installed warnings.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Ben Kunkle
2025-10-10 23:21:59 +00:00
committed by GitHub
parent 3ba4b84107
commit 201124e13f
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
{
"$schema": "zed://schemas/settings",
/// The displayed name of this project. If not set or empty, the root directory name
/// will be displayed.
"project_name": "",
@@ -2051,7 +2052,7 @@
// }
// }
// }
"profiles": [],
"profiles": {},
// A map of log scopes to the desired log level.
// Useful for filtering out noisy logs or enabling more verbose logging.
+1
View File
@@ -215,6 +215,7 @@ impl From<settings::DiagnosticSeverityContent> for DiagnosticSeverity {
settings::DiagnosticSeverityContent::Warning => DiagnosticSeverity::Warning,
settings::DiagnosticSeverityContent::Info => DiagnosticSeverity::Info,
settings::DiagnosticSeverityContent::Hint => DiagnosticSeverity::Hint,
settings::DiagnosticSeverityContent::All => DiagnosticSeverity::Hint,
}
}
}
@@ -470,8 +470,8 @@ pub enum DiagnosticSeverityContent {
Error,
Warning,
Info,
#[serde(alias = "all")]
Hint,
All,
}
/// A custom Git hosting provider.