feat: add xml & dtd parsers

This commit is contained in:
ObserverOfTime 2023-08-04 14:50:28 +03:00
parent 800b2f388b
commit 5b3dd8cff1
12 changed files with 261 additions and 3 deletions

View file

@ -42,6 +42,9 @@ for ft, lang in pairs {
quarto = "markdown",
dosini = "ini",
confini = "ini",
svg = "xml",
xsd = "xml",
xslt = "xml",
} do
register_lang(lang, ft)
end
@ -356,6 +359,15 @@ list.dot = {
maintainers = { "@rydesun" },
}
list.dtd = {
install_info = {
url = "https://github.com/ObserverOfTime/tree-sitter-xml",
files = { "src/parser.c", "src/scanner.c" },
location = "tree-sitter-dtd",
},
maintainers = { "@ObserverOfTime" },
}
list.ebnf = {
install_info = {
url = "https://github.com/RubixDev/ebnf",
@ -1745,6 +1757,15 @@ list.wing = {
experimental = true,
}
list.xml = {
install_info = {
url = "https://github.com/ObserverOfTime/tree-sitter-xml",
files = { "src/parser.c", "src/scanner.c" },
location = "tree-sitter-xml",
},
maintainers = { "@ObserverOfTime" },
}
list.yaml = {
install_info = {
url = "https://github.com/ikatyang/tree-sitter-yaml",