Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat (autosuggestions) respect gitignore for autosuggestions #994

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

ethanh20009
Copy link
Contributor

Previously if autosuggestions were enabled, they were enabled for every file.

This PR introduces an option to disable autosuggestions on gitignored files.
Motivation was for env files which I did not want to send any data from with private content such as api keys.

behaviour.auto_suggestions_respect_ignore: bool

Further work could include a custom table config that includes patterns to ignore in addition to the gitignore.

@ethanh20009 ethanh20009 changed the title feat: respect gitignore for autosuggestions feat (autosuggestions) respect gitignore for autosuggestions Dec 23, 2024
@ethanh20009 ethanh20009 force-pushed the main branch 3 times, most recently from 00faa7b to ff07ccd Compare January 5, 2025 22:11
@yetone yetone merged commit c3e7ba0 into yetone:main Jan 11, 2025
3 checks passed
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.

2 participants