Skip to content

fix(context): respect gitignore in context picker - #63

Merged
timothyckl merged 1 commit into
mainfrom
fix/context-picker-gitignore
May 1, 2026
Merged

fix(context): respect gitignore in context picker#63
timothyckl merged 1 commit into
mainfrom
fix/context-picker-gitignore

Conversation

@timothyckl

Copy link
Copy Markdown
Owner

Summary

  • Use Git file discovery for the context picker so ignored files like node_modules are excluded
  • Keep a glob fallback for non-Git directories
  • Add a Neovim regression test for .gitignore exclusion

Test plan

  • nvim --headless -u NONE --cmd "set rtp^=$PWD" +'luafile tests/context_picker_spec.lua' +qa

@timothyckl timothyckl left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@timothyckl
timothyckl merged commit 61703cc into main May 1, 2026
1 check passed
@timothyckl
timothyckl deleted the fix/context-picker-gitignore branch August 6, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant