Releases: kylesnowschwartz/prompt-tower.nvim
Releases · kylesnowschwartz/prompt-tower.nvim
Release list
v0.1.2: Fix file discovery for hidden files and gitignore patterns
🐛 Bug Fixes
This release fixes a critical issue where :PromptTower would show "No files found in workspace" when working in directories that primarily contain hidden files (files starting with .) or when gitignore patterns conflicted with directory paths.
Fixed Issues
- Hidden files not discovered: Files like
.gitignore,.github/,.stylua.tomlare now properly discovered by default - Overly broad .git pattern: Fixed ignore pattern to only match exactly
.gitdirectory, not files starting with.git - Gitignore pattern conflicts: Fixed gitignore patterns to use relative paths instead of absolute paths, preventing conflicts when directory names match gitignore patterns
Technical Changes
- 🔧 Enable
file_discovery.include_hidden=trueby default in configuration - 🎯 Change
.gitignore pattern to^%.git$for specificity - 📍 Fix gitignore pattern matching to use relative paths from gitignore file location
- ✅ Add comprehensive regression tests covering hidden file discovery edge cases
Impact
This particularly fixes the issue in directories like:
~/.config/nvim(Neovim configuration directories)~/.dotfiles(Dotfile repositories)- Any project where gitignore patterns inadvertently matched directory paths
Testing
- Added 5 new regression tests specifically targeting this bug
- Total test suite now has 157 tests (up from 152)
- All tests pass with comprehensive coverage of file discovery scenarios
Upgrade Notes
No breaking changes - this is a pure bug fix release. Existing configurations will continue to work as expected, but will now discover hidden files by default.