From 96ff1e8dbdf4ede0927beb79efd719314d44f7ce Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Mon, 26 Aug 2024 08:16:36 -0700 Subject: [PATCH] Tweak comment --- src/parse/guess_language.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/parse/guess_language.rs b/src/parse/guess_language.rs index 1547c00f4..4c99fb644 100644 --- a/src/parse/guess_language.rs +++ b/src/parse/guess_language.rs @@ -375,9 +375,8 @@ pub(crate) fn language_globs(language: Language) -> Vec { Xml => &[ "*.ant", "*.csproj", + // Following GitHub, treat MJML as XML. // https://documentation.mjml.io/ - // tecnicly its not html but github made it xml too - // https://github.com/github-linguist/linguist/blob/39fd5e93de98de3434cb3e857c5b1972c418f8c5/lib/linguist/languages.yml#L7963 "*.mjml", "*.plist", "*.resx",