Unnamed repository; edit this file 'description' to name the repository.
feat(languages): highlight .svg as xml (#6431)
Add "svg" as a file type for xml. Fixes: https://github.com/helix-editor/helix/issues/6337
Matouš Dzivjak 2023-03-25
parent 9a65118 · commit 2f64c76
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 670f3adf..a56de1f4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2068,7 +2068,7 @@ source = { git = "https://github.com/Unoqwy/tree-sitter-kdl", rev = "e1cd292c6d1
name = "xml"
scope = "source.xml"
injection-regex = "xml"
-file-types = ["xml", "mobileconfig", "plist", "xib", "storyboard"]
+file-types = ["xml", "mobileconfig", "plist", "xib", "storyboard", "svg"]
indent = { tab-width = 2, unit = " " }
roots = []