Skip to content

Conversation

aaronmarkham
Copy link

Description of changes:

  • Treat dotfiles as text files instead of unknown file types
  • Allow common config files (.bashrc, .vimrc, .raprc, etc.) through hidden file filters
  • Add test cases for dotfile patterns (.bashrc, .vimrc, .raprc, .testrc, etc.)

Previously, dotfiles were classified as FileType::Unknown and skipped during directory processing, preventing configuration files from being indexed.

This change enables indexing of:

  • Files ending in 'rc' (.bashrc, .vimrc, .raprc)
  • Files ending in 'config' (.gitconfig, .npmconfig)
  • Common dotfiles (.gitignore, .env, .dockerignore)

Fixes issue where configuration files showed 0 items after indexing.

Tested with .raprc and .testrc files - both now properly index content.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Treat dotfiles as text files instead of unknown file types
- Allow common config files (.bashrc, .vimrc, .raprc, etc.) through hidden file filters
- Add test cases for dotfile patterns (.bashrc, .vimrc, .raprc, .testrc, etc.)

Previously, dotfiles were classified as FileType::Unknown and skipped during
directory processing, preventing configuration files from being indexed.

This change enables indexing of:
- Files ending in 'rc' (.bashrc, .vimrc, .raprc)
- Files ending in 'config' (.gitconfig, .npmconfig)
- Common dotfiles (.gitignore, .env, .dockerignore)

Fixes issue where configuration files showed 0 items after indexing.

Tested with .raprc and .testrc files - both now properly index content.
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