From b01874205ebb294d88a2db57b9bad437ba4ee299 Mon Sep 17 00:00:00 2001 From: KevIsDev Date: Mon, 3 Mar 2025 09:24:39 +0000 Subject: [PATCH] fix: support php language in diff view --- app/components/workbench/DiffView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/workbench/DiffView.tsx b/app/components/workbench/DiffView.tsx index aa635ba6..73a5a339 100644 --- a/app/components/workbench/DiffView.tsx +++ b/app/components/workbench/DiffView.tsx @@ -556,7 +556,7 @@ const InlineDiffComparison = memo(({ beforeCode, afterCode, filename, language } useEffect(() => { getHighlighter({ themes: ['github-dark', 'github-light'], - langs: ['typescript', 'javascript', 'json', 'html', 'css', 'jsx', 'tsx'], + langs: ['typescript', 'javascript', 'json', 'html', 'css', 'jsx', 'tsx', 'python', 'php'], }).then(setHighlighter); }, []);