From e0c1107a253405c41763a9064dbf06ce0c8863fb Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Tue, 10 Feb 2015 15:33:13 -0500 Subject: [PATCH] Classify SVG files as data This keeps SVG files (which are really just images, even though they happen to be represented as text) out of repository language statistics. --- lib/linguist/languages.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 75d30673..972a9b67 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2684,6 +2684,13 @@ STON: tm_scope: source.smalltalk ace_mode: text +SVG: + type: data + extensions: + - .svg + tm_scope: source.xml + ace_mode: xml + Sage: type: programming group: Python @@ -3199,7 +3206,6 @@ XML: - .srdf - .stTheme - .sublime-snippet - - .svg - .targets - .tmCommand - .tmLanguage