mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat: add xml & dtd parsers
This commit is contained in:
parent
800b2f388b
commit
5b3dd8cff1
12 changed files with 261 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue