Disable key ordering diagnostic for YAML language server

This commit is contained in:
Antonio Scandurra committed 2023-04-03 20:02:29 +02:00
1 parent 69557655ee
commit 588b2da40a
1 file changed
+3
+3
View File
@@ -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"))
}