aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatouš Dzivjak2023-03-25 13:40:19 +0000
committerGitHub2023-03-25 13:40:19 +0000
commit2f64c768dff1e6b3784d88a5604bd2f1b96b2b3e (patch)
tree6aa7217ce67f9ddcb38035fa6b2df86c83f95bc0
parent9a651188998bbc1584519ebf658cb5c2c31f4b21 (diff)
feat(languages): highlight .svg as xml (#6431)
Add "svg" as a file type for xml. Fixes: https://github.com/helix-editor/helix/issues/6337
-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 = []