feat(xml): add xml support

This commit is contained in:
Vitor Pavani 2023-08-16 23:04:29 -03:00 committed by Lewis Russell
parent d8fd71428e
commit a17c31268b
3 changed files with 103 additions and 0 deletions

View file

@ -176,6 +176,7 @@ Note: if you need support for Neovim 0.6.x please use the tag `compat/0.6`.
- [ ] `vue`
- [ ] `wgsl`
- [ ] `wgsl_bevy`
- [x] `xml`
- [ ] `yang`
- [ ] `yuck`

4
queries/xml/context.scm Normal file
View file

@ -0,0 +1,4 @@
([
(element)
] @context)

98
test/test.xml Normal file
View file

@ -0,0 +1,98 @@
<catalog>
<book>
<details>
<title>Python Crash Course</title>
</details>
</book>
</catalog>