-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple documents in one yaml file #12122
Comments
This makes working with Kubernetes yaml files pretty difficult ... |
Failing Syntax Highlighting for multiple Yaml documents in one file is also occurring in the mac version, 0.145.1 in my case. |
I have this issue too with flux2 yaml file |
Maybe its upstream ? |
Not sure to understand but it seem to detect if file is yml or yaml and kubernetes and parse it differently The multi document yaml test |
Bump. Would be nice this fix this issue, since this makes working on kubernetes ressources diffcult. |
This bug seems fixed. |
I'm still observing this problem on mac Zed 0.149.5 |
me too. |
I'm still observing this problem on mac Zed Preview 0.153.1 |
same here, still observing this problem, is there a fix for this? |
我仍然在 Mac Zed Preview 0.157.4 上观察到这个问题,有解决办法吗? |
Check for existing issues
Describe the bug / provide steps to reproduce it
Having multiple yaml documents in one file, Zed marks the second document all in red with the information:
Source contains multiple documents; please use YAML.parseAllDocuments() at line 169, column 1: (MULTIPLE_DOCS)
Example of yaml file:
aur/zed-editor 0.135.2-1 on Arch Linux
Environment
Zed: v1.0.0 (Zed)
OS: Linux 1.0.0
Memory: 13.7 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response
The text was updated successfully, but these errors were encountered: