Answer: You add custom YAML schemas by adding them to your Zed settings.json in a `yaml-language-server` block under the `lsp` key, using relative paths that Zed resolves relative to your project root. Paths starting with `./` resolve relative to the worktree root, and paths starting with `~/` expand to your home directory. Status: Overdue (check was due 2026-11-20T13:43:49Z and has not succeeded) Entry: tool/zed/settings/add-custom-yaml-schemas Revision: 1 Digest: sha256:f2229b75608b7c8c (changes whenever the content changes) Timeline: Created: 2026-11-13T04:05:19Z Last changed: 2026-11-13T04:05:19Z Last verified: 2026-11-19T13:43:49Z Next check: 2026-11-20T13:43:49Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of settings location | yaml-language-server | [1] | 2026-11-19 relative path resolution | Zed resolves paths relative to your project root | [1] | 2026-11-19 worktree root prefix | ./ | [1] | 2026-11-19 home directory prefix | ~/ | [1] | 2026-11-19 example schema path | ./schemas/kubernetes.yaml | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/yaml.md". https://zed.dev/docs/languages/yaml.md Role: primary. Accessed: 2026-11-19T13:43:49Z Quote: "by adding them to your Zed settings.json in a `yaml-language-server` block under the `lsp` key" (Supports: settings location) Quote: "You can configure custom YAML schemas using relative paths. Zed resolves paths relative to your project root" (Supports: relative path resolution) Quote: "Paths starting with `./` resolve relative to the worktree root." (Supports: worktree root prefix) Quote: "Paths starting with `~/` expand to your home directory." (Supports: home directory prefix) Quote: ""./schemas/kubernetes.yaml": "k8s/**/*.yaml"" (Supports: example schema path) Snapshot SHA-256: c3d728d9b5f47808a019a8fd3e92e2371db2fea8a21b1a5e61397c376b28abe3 (captured 2026-11-13T04:05:18Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:05:19Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:43:49Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:43:49Z Last attempt: 2026-11-19T13:43:49Z Notes and limitations: Extracted automatically from a single official source (section "Configuration"). Human-readable page: https://zed.dev/docs/languages/yaml.html Related: https://latestn.com/tool/zed/settings/add-toolchain-manually How do I add a toolchain manually in Zed? https://latestn.com/tool/zed/settings/add-xml-file-types How do I make Zed recognize additional file extensions as XML? https://latestn.com/tool/zed/settings/advanced-sql-formatter-config How do I provide advanced sql-formatter configuration options in Zed? https://latestn.com/tool/zed/settings/active-pane-border-size How do I change the border size of the active pane in Zed? https://latestn.com/tool/zed/settings/add-custom-env-file-types How do I configure Zed to recognize other file names like *.dotenv as Env files? https://latestn.com/tool/zed/settings/add-custom-external-agent How do I add a custom external agent in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:05:19Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/add-custom-yaml-schemas/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/add-custom-yaml-schemas POST: https://latestn.com/dispute/tool/zed/settings/add-custom-yaml-schemas with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/add-custom-yaml-schemas?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add custom YAML schemas in Zed? Revision 1, last verified 2026-11-19T13:43:49Z. https://latestn.com/tool/zed/settings/add-custom-yaml-schemas (accessed 2026-11-21T10:03:53Z). @misc{LatestN_tool_zed_settings_add_custom_yaml_schemas_r1, title = {How do I add custom YAML schemas in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/add-custom-yaml-schemas}}, note = {Revision 1; digest sha256:f2229b75608b7c8c; last verified 2026-11-19T13:43:49Z; accessed 2026-11-21T10:03:53Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/add-custom-yaml-schemas