From 023ed82e612451caa38ec46106ed9d148ab9a595 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 8 Feb 2026 10:39:51 +0200 Subject: add gitignore-aware file filtering for LSP completions and code actions Files matching .gitignore patterns or user-configured extra patterns are now skipped for completions and code actions. Configurable via [ignore] section in config.toml with gitignore, extra_patterns, and lsp_notify_ignored options. Includes hot-reload support and env var overrides (HEXAI_IGNORE_*). Co-Authored-By: Claude Opus 4.6 --- config.toml.example | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index 81d8ba0..f732300 100644 --- a/config.toml.example +++ b/config.toml.example @@ -148,3 +148,8 @@ temperature = 0.2 [stats] # window_minutes = 60 # sliding window for global stats (Σ@window); min 1, max 1440 + +[ignore] +# gitignore = true # respect .gitignore patterns (default: true) +# extra_patterns = ["*.min.js", "vendor/**", "*.generated.go"] +# lsp_notify_ignored = true # show "file ignored" in LSP completions (default: true) -- cgit v1.2.3