summaryrefslogtreecommitdiff
path: root/config.toml.example
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-08 10:39:51 +0200
committerPaul Buetow <paul@buetow.org>2026-02-08 10:39:51 +0200
commit023ed82e612451caa38ec46106ed9d148ab9a595 (patch)
treed482cc965a65be22604800fe6772279c52961b99 /config.toml.example
parent80808d42c257823feb873f80d06b325430c9350e (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example5
1 files changed, 5 insertions, 0 deletions
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)