docs: Add XML (#19026)

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
Peter Tripp
2024-10-10 12:56:39 -04:00
committed by GitHub
co-authored by Marshall Bowers
parent 596d8b2fe3
commit 3c6989323f
3 changed files with 17 additions and 1 deletions
+1
View File
@@ -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)
+1 -1
View File
@@ -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)
+15
View File
@@ -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"]
}
```