From 23d077f7a5a6531cffe0fd87d649ab4dea5af602 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 23 Feb 2026 11:39:25 +0100 Subject: [PATCH 1/2] Add GLSL file extensions to extensions.py --- identify/extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/identify/extensions.py b/identify/extensions.py index fd63678..ffc02a4 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -93,6 +93,7 @@ 'ggb': {'binary', 'zip', 'ggb'}, 'gif': {'binary', 'image', 'gif'}, 'gleam': {'text', 'gleam'}, + 'glsl': {'comp', 'frag', 'geom', 'tesc', 'tese', 'vert'}, 'go': {'text', 'go'}, 'gotmpl': {'text', 'gotmpl'}, 'gpx': {'text', 'gpx', 'xml'}, From 689992faaa23dcb6f5edaac21e35999b1760f1cb Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 23 Feb 2026 11:42:17 +0100 Subject: [PATCH 2/2] Add back in accidentally dropped `'text', ` --- identify/extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identify/extensions.py b/identify/extensions.py index ffc02a4..35dd8d9 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -93,7 +93,7 @@ 'ggb': {'binary', 'zip', 'ggb'}, 'gif': {'binary', 'image', 'gif'}, 'gleam': {'text', 'gleam'}, - 'glsl': {'comp', 'frag', 'geom', 'tesc', 'tese', 'vert'}, + 'glsl': {'text', 'comp', 'frag', 'geom', 'tesc', 'tese', 'vert'}, 'go': {'text', 'go'}, 'gotmpl': {'text', 'gotmpl'}, 'gpx': {'text', 'gpx', 'xml'},