Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Improve the yaml outline to show the key value if it's a simple string (#35562)
Mikayla Maki2db19e19a540
diff --git a/crates/languages/src/yaml/outline.scm b/crates/languages/src/yaml/outline.scmindex 7ab007835f3..c5a7f8e5d40 100644--- a/crates/languages/src/yaml/outline.scm+++ b/crates/languages/src/yaml/outline.scm@@ -1 +1,9 @@-(block_mapping_pair key: (flow_node (plain_scalar (string_scalar) @name))) @item+(block_mapping_pair+ key:+ (flow_node+ (plain_scalar+ (string_scalar) @name))+ value:+ (flow_node+ (plain_scalar+ (string_scalar) @context))?) @item