Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add XML (#19026)
Peter Tripp3c6989323f35
diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.mdindex e7d837e479b..8d82dad8c9e 100644--- a/docs/src/SUMMARY.md+++ b/docs/src/SUMMARY.md@@ -110,6 +110,7 @@- [TypeScript](./languages/typescript.md)- [Uiua](./languages/uiua.md)- [Vue](./languages/vue.md)+- [XML](./languages/xml.md)- [YAML](./languages/yaml.md)- [Yarn](./languages/yarn.md)- [Zig](./languages/zig.md)diff --git a/docs/src/languages.md b/docs/src/languages.mdindex 4bc6e7d3d73..bfda1e6b0ef 100644--- a/docs/src/languages.md+++ b/docs/src/languages.md@@ -61,6 +61,7 @@ Zed supports hundreds of programming languages and text formats. Some work out-o- [TypeScript](./languages/typescript.md)- [Uiua](./languages/uiua.md)- [Vue](./languages/vue.md)+- [XML](./languages/xml.md)- [YAML](./languages/yaml.md)- [Yarn](./languages/yarn.md)- [Zig](./languages/zig.md)@@ -157,4 +158,3 @@ Zed supports hundreds of programming languages and text formats. Some work out-o- [VHS](https://github.com/eth0net/zed-vhs)- [Wgsl](https://github.com/luan/zed-wgsl)- [WIT](https://github.com/valentinegb/zed-wit)-- [XML](https://github.com/sweetppro/zed-xml)diff --git a/docs/src/languages/xml.md b/docs/src/languages/xml.mdnew file mode 100644index 00000000000..ab768dc9d9d--- /dev/null+++ b/docs/src/languages/xml.md@@ -0,0 +1,15 @@+# XML++XML support is available through the [XML extension](https://github.com/sweetppro/zed-xml/).++- Tree Sitter: [tree-sitter-grammars/tree-sitter-xml](https://github.com/tree-sitter-grammars/tree-sitter-xml)++## Configuration++If you have additional file extensions that are not being automatically recognized as XML just add them to [file_types](../configuring-zed.md#file-types) in your Zed settings:++```json+ "file_types": {+ "XML": ["rdf", "gpx", "kml"]+ }+```