From 99968e41a8ed1a0b1a8c42e80f65be5d5ee574c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vorburger=20=E2=9B=91=EF=B8=8F?= Date: Sat, 11 Mar 2023 02:09:06 +0100 Subject: [PATCH] Add *.textproto support This will allow e.g. https://github.com/pre-commit/mirrors-clang-format to format https://protobuf.dev/reference/protobuf/textformat-spec/ files together with https://github.com/pre-commit/mirrors-clang-format/pull/22. --- identify/extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/identify/extensions.py b/identify/extensions.py index dae7d2d5..e6d77345 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -223,6 +223,7 @@ 'tac': {'text', 'twisted', 'python'}, 'tar': {'binary', 'tar'}, 'tex': {'text', 'tex'}, + 'textproto': {'text', 'textproto'}, 'tf': {'text', 'terraform'}, 'tfvars': {'text', 'terraform'}, 'tgz': {'binary', 'gzip'},