From f414ed7e3e4f8b29b37bf36bf83716ff2adb3ff3 Mon Sep 17 00:00:00 2001 From: Olaf Monien Date: Thu, 12 Feb 2026 00:40:56 +0100 Subject: [PATCH] perf: Add Delphi-specific exclude patterns to defaults MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add _libs/**, libs/**, __history/**, __recovery/**, and *.dcu to default exclude list. Delphi projects store external dependencies in _libs/ or libs/ (often as Git submodules) and these should not be indexed — same as node_modules for JS projects. Co-Authored-By: Claude Opus 4.6 --- src/types.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/types.ts b/src/types.ts index df5001f..6e9d74c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -536,6 +536,8 @@ export const DEFAULT_CONFIG: CodeGraphConfig = { '**/node_modules/**', '**/vendor/**', '**/Pods/**', + '**/_libs/**', + '**/libs/**', // Generic build outputs '**/dist/**', @@ -630,6 +632,11 @@ export const DEFAULT_CONFIG: CodeGraphConfig = { '**/Carthage/Build/**', '**/SourcePackages/**', + // Delphi/Pascal + '**/__history/**', + '**/__recovery/**', + '**/*.dcu', + // PHP '**/.composer/**', '**/storage/framework/**',