Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Disable key ordering diagnostic for YAML language server
Antonio Scandurra588b2da40ae9
diff --git a/crates/zed/src/languages/yaml.rs b/crates/zed/src/languages/yaml.rsindex a34bbeb5964..a9a87fd585e 100644--- a/crates/zed/src/languages/yaml.rs+++ b/crates/zed/src/languages/yaml.rs@@ -106,6 +106,9 @@ impl LspAdapter for YamlLspAdapter {let settings = cx.global::<Settings>();Some(future::ready(serde_json::json!({+ "yaml": {+ "keyOrdering": false+ },"[yaml]": {"editor.tabSize": settings.tab_size(Some("YAML"))}