docs: Add XML (#19026)

Peter Tripp and Marshall Bowers created

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>

Change summary

docs/src/SUMMARY.md       |  1 +
docs/src/languages.md     |  2 +-
docs/src/languages/xml.md | 15 +++++++++++++++
3 files changed, 17 insertions(+), 1 deletion(-)

Detailed changes

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)

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)

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"]
+  }
+```