summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMatthew Toohey2022-10-29 20:41:28 +0000
committerGitHub2022-10-29 20:41:28 +0000
commitf054a3f3ed445cdfa8c0dc63698659ef30af57b7 (patch)
treed4dd25e8d60a6c3b870f72b4b7b271dd4844adca /languages.toml
parent2935e9da197442620578e07d87cd0607ae4145f1 (diff)
feat(lang): add xml (#4518)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml20
1 files changed, 20 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 31a454b0..00e6459d 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1897,3 +1897,23 @@ injection-regex = "kdl"
[[grammar]]
name = "kdl"
source = { git = "https://github.com/Unoqwy/tree-sitter-kdl", rev = "e1cd292c6d15df6610484e1d4b5c987ecad52373" }
+
+[[language]]
+name = "xml"
+scope = "source.xml"
+injection-regex = "xml"
+file-types = ["xml"]
+indent = { tab-width = 2, unit = " " }
+roots = []
+
+[language.auto-pairs]
+'(' = ')'
+'{' = '}'
+'[' = ']'
+'"' = '"'
+"'" = "'"
+"<" = ">"
+
+[[grammar]]
+name = "xml"
+source = { git = "https://github.com/RenjiSann/tree-sitter-xml", rev = "422528a43630db6dcc1e222d1c5ee3babd559473" }