From 40bf4114fe79fdfa46ec9a471a364a3d32d6ab4e Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Thu, 13 Nov 2025 13:17:13 -0800 Subject: [PATCH] Provide support for D and VALA language files This change adds file extension detection support for .d and .vala files, which are used by the D and VALA programming languages, respectively. Closes: #258 Signed-off-by: Enji Cooper --- identify/extensions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/identify/extensions.py b/identify/extensions.py index 5d49d87..fe85880 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -55,6 +55,7 @@ 'cxx': {'text', 'c++'}, 'cxxm': {'text', 'c++'}, 'cylc': {'text', 'cylc'}, + 'd': {'text', 'd'}, 'dart': {'text', 'dart'}, 'dbc': {'text', 'dbc'}, 'def': {'text', 'def'}, @@ -309,6 +310,7 @@ 'xsd': {'text', 'xml', 'xsd'}, 'xsl': {'text', 'xml', 'xsl'}, 'xslt': {'text', 'xml', 'xsl'}, + 'vala': {'text', 'vala'}, 'yaml': {'text', 'yaml'}, 'yamlld': {'text', 'yaml', 'yamlld'}, 'yang': {'text', 'yang'},