zed is slow when viewing a 1 mb yaml file, but not when it's a 1 mb json file
Summary
zed is slow when viewing a 1 mb yaml file, but not when it's a 1 mb json file
Description
Steps to reproduce:
Expected Behavior: both should be the same speed Actual Behavior: yaml slow, json not
Zed Version and System Specs
Zed: v0.187.9 (Zed) OS: Linux Wayland nixos 25.11 Memory: 19.4 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 25.1.1
This could be an issue with tree-sitter-yaml (responsible for syntax highlight) or yaml-language-server (less likely). Do you have an example 1MB yaml file which triggers this behavior?
Also can you quantify what is slow? (typing, autocomplete, scrolling, etc)
Do you have an example 1MB yaml file which triggers this behavior?
yes, it's downloadable and hyperlinked in the "Steps to reproduce:"
Also can you quantify what is slow? (typing, autocomplete, scrolling, etc)
everything you mentioned
Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!