From 0593ba04cc7a09f06f5aaf2bedf83b8f201db813 Mon Sep 17 00:00:00 2001 From: cjiso1117 <65863383+cjiso1117@users.noreply.github.com> Date: Tue, 21 Jan 2025 10:39:31 +0800 Subject: [PATCH 1/2] Update custom-types.json add support for text/x-php --- src/custom-types.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/custom-types.json b/src/custom-types.json index 3f00857f..10bd9df0 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -905,6 +905,10 @@ "http://orgmode.org" ] }, + "text/x-php": { + "compressible": true, + "extensions": ["php"] + }, "text/x-processing": { "compressible": true, "extensions": ["pde"], From 57598c0d0a358b7215fcc5630d02ba2b92c8973e Mon Sep 17 00:00:00 2001 From: cjiso1117 <65863383+cjiso1117@users.noreply.github.com> Date: Mon, 14 Apr 2025 15:39:22 +0800 Subject: [PATCH 2/2] add sources --- src/custom-types.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/custom-types.json b/src/custom-types.json index 6bfcefee..668b4436 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -1103,7 +1103,10 @@ }, "text/x-php": { "compressible": true, - "extensions": ["php"] + "extensions": ["php"], + "sources":[ + "https://cweiske.de/tagebuch/php-mimetype.htm#linux" + ] }, "text/x-processing": { "compressible": true,